Open Kilda Java Documentation
IAuthConstants.java
Go to the documentation of this file.
1 package org.openkilda.constants;
2 
6 public abstract class IAuthConstants {
7 
8  private IAuthConstants() {}
9 
10  public interface Header {
11  String AUTHORIZATION = "Authorization";
12  String CORRELATION_ID = "correlationid";
13  String BASIC_AUTH = "BasicAuth";
14  }
15 
16  public interface ContentType {
17  String JSON = "application/json";
18  }
19 
20  public interface Code {
21  int SUCCESS_CODE = 20000;
22  String SUCCESS_AUXILIARY = "Success";
23  String ERROR_AUXILIARY = "Error";
24 
25  String RESPONSE_PARSING_FAIL_ERROR = "response.parsing.fail.error";
26  }
27 }