Package com.h2tcoin.takamakachain.api
Class RestContexts
- java.lang.Object
-
- com.h2tcoin.takamakachain.api.RestContexts
-
public class RestContexts extends Object
- Author:
- francesco.pasetto@h2tcoin.com
-
-
Field Summary
Fields Modifier and Type Field Description static RestServerapistatic intBACKLOGstatic CharsetCHARSETstatic StringHEADER_ALLOWstatic StringHEADER_CONTENT_TYPEstatic StringHOSTNAMEstatic StringMETHOD_GETstatic StringMETHOD_OPTIONSstatic StringMETHOD_POSTstatic intNO_RESPONSE_LENGTHstatic NetworkPoolnpstatic intPORTstatic HttpServerserverstatic intSTATUS_METHOD_NOT_ALLOWEDstatic intSTATUS_OK
-
Constructor Summary
Constructors Constructor Description RestContexts()
-
-
-
Field Detail
-
HOSTNAME
public static final String HOSTNAME
- See Also:
- Constant Field Values
-
PORT
public static final int PORT
- See Also:
- Constant Field Values
-
BACKLOG
public static final int BACKLOG
- See Also:
- Constant Field Values
-
HEADER_ALLOW
public static final String HEADER_ALLOW
- See Also:
- Constant Field Values
-
HEADER_CONTENT_TYPE
public static final String HEADER_CONTENT_TYPE
- See Also:
- Constant Field Values
-
CHARSET
public static final Charset CHARSET
-
STATUS_OK
public static final int STATUS_OK
- See Also:
- Constant Field Values
-
STATUS_METHOD_NOT_ALLOWED
public static final int STATUS_METHOD_NOT_ALLOWED
- See Also:
- Constant Field Values
-
NO_RESPONSE_LENGTH
public static final int NO_RESPONSE_LENGTH
- See Also:
- Constant Field Values
-
METHOD_GET
public static final String METHOD_GET
- See Also:
- Constant Field Values
-
METHOD_POST
public static final String METHOD_POST
- See Also:
- Constant Field Values
-
METHOD_OPTIONS
public static final String METHOD_OPTIONS
- See Also:
- Constant Field Values
-
server
public static HttpServer server
-
np
public static NetworkPool np
-
api
public static RestServer api
-
-