Class NhttpConstants
java.lang.Object
org.apache.synapse.transport.nhttp.NhttpConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final intstatic final StringConstant string to define the if the server/client connection is dropped.static final intstatic final intstatic final Stringstatic final Stringstatic final StringConfiguration in nhttp.properties file for enable connection countingstatic final Stringstatic final StringThe default operation name used by the axis servicestatic final intstatic final Stringstatic final Stringstatic final StringThis is a name of a parameter in transportReceiver.static final Stringstatic final Stringstatic final Stringstatic final intDefault minimum interval which checks any configuration file updates for Dynamic SSL Profiles Default value is one minute in milliseconds.static final Stringstatic final Stringstatic final StringThe message context property name which holds the error code for the last encountered exceptionstatic final StringThe message context property name which holds the error detail (stack trace) for the last encountered exceptionstatic final StringThe message context property name which holds the exception (if any) for the last encountered exceptionstatic final StringThe MC property name which holds the error message for the last encountered exceptionstatic final StringThis holds a MultiValue Map, which keeps transport headers' values other than last value (in order they appear) against the transport header.static final StringA message context property indicating "TRUE", if a transport or the message builder has information that the current message is a fault (e.g.static final Stringstatic final StringDenotes a connection close is forced if set at the NhttpContextstatic final StringUse to flag a connection closestatic final Stringstatic final Stringstatic final Stringstatic final StringRef X-Forwaded-For headerstatic final StringRef X-Forwaded-Host headerstatic final StringRef X-Originating-IP Form 1static final StringRef X-Originating-IP Form 1static final Stringstatic final StringA message context property indicating "TRUE", This will set on success scenariosstatic final StringThis constant is used to plugin a custom WSDL processor for Get requestsstatic final StringHttp method type constants to be used in synapsestatic final StringDefines weather synapse needs to preserve the original Http headers.static final StringReason Phrase can be used to override the default English reason phrases for HTTP status codes Default reason codes and phrases are defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1)static final Stringstatic final StringHolds the method type of the incoming requeststatic final Stringstatic final Stringstatic final Stringstatic final StringDenotes a message is being processed by the current connection if this is set at the contextstatic final StringThe largest request/response size the nhttp transport will be handling.static final Stringstatic final StringInput stream of the message is set to this message context propertystatic final StringOutput stram of the message is set to this message context propertystatic final Stringstatic final Stringstatic final Stringstatic final StringThis constant is used to hold the open connections map in the ConfigurationContextstatic final StringUsed to keep backend responses content lengthstatic final Stringstatic final Stringstatic final Stringstatic final Stringaxis.xml config parameter that is used to specify the Weak Ciphers that need to be enabledprotected static final Stringstatic final intstatic final StringProxy profile target host identification.static final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThis property can be used to set the HOST header sent from the client to synapsestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final StringAn Axis2 message context property indicating a transport send failurestatic final Stringstatic final StringDefines weather synapse needs to preserve the original Server header.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final intstatic final Stringnhttp property that must be defined in nhttp.properties to set receiver timeout and sender timeout.static final Stringstatic final StringCertificates for Mutual SSL connectionsstatic final StringDeprecated.static final Stringaxis2 configuration to enable Mutual SSL - verify client's certificatestatic final QNameThe operation name used by the Synapse service (for message mediation)static final Stringstatic final StringDefines weather synapse needs to preserve the original User-Agent header.static final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRUE
- See Also:
-
FAULT_MESSAGE
A message context property indicating "TRUE", if a transport or the message builder has information that the current message is a fault (e.g. SOAP faults, non-HTTP 2xx, etc)- See Also:
-
FAULTS_AS_HTTP_200
- See Also:
-
SC_ACCEPTED
- See Also:
-
HTTP_SC
- See Also:
-
HTTP_REASON_PHRASE
Reason Phrase can be used to override the default English reason phrases for HTTP status codes Default reason codes and phrases are defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1)- See Also:
-
FORCE_HTTP_1_0
- See Also:
-
FORCE_HTTP_CONTENT_LENGTH
- See Also:
-
COPY_CONTENT_LENGTH_FROM_INCOMING
- See Also:
-
DISABLE_CHUNKING
- See Also:
-
POST_TO_URI
- See Also:
-
NO_KEEPALIVE
- See Also:
-
DISABLE_KEEPALIVE
- See Also:
-
IGNORE_SC_ACCEPTED
- See Also:
-
FORCE_SC_ACCEPTED
- See Also:
-
DISCARD_ON_COMPLETE
- See Also:
-
MESSAGE_TYPE
- See Also:
-
ORIGINAL_MESSAGE_TYPE
- See Also:
-
MC_CONTENT_TYPE
- See Also:
-
WSDL_EPR_PREFIX
- See Also:
-
REMOTE_HOST
- See Also:
-
BIND_ADDRESS
- See Also:
-
SERVICE_URI_LOCATION
- See Also:
-
EPR_TO_SERVICE_NAME_MAP
- See Also:
-
NON_BLOCKING_TRANSPORT
- See Also:
-
SERIALIZED_BYTES
- See Also:
-
REQUEST_READ
- See Also:
-
CONTENT_TYPE
- See Also:
-
REQUEST_CONTENT_TYPE
- See Also:
-
DEFAULT_CONTENT_TYPE
- See Also:
-
SEND_TIMEOUT
- See Also:
-
HIDDEN_SERVICE_PARAM_NAME
- See Also:
-
SENDING_FAULT
An Axis2 message context property indicating a transport send failure- See Also:
-
ERROR_CODE
The message context property name which holds the error code for the last encountered exception- See Also:
-
ERROR_MESSAGE
The MC property name which holds the error message for the last encountered exception- See Also:
-
ERROR_DETAIL
The message context property name which holds the error detail (stack trace) for the last encountered exception- See Also:
-
ERROR_EXCEPTION
The message context property name which holds the exception (if any) for the last encountered exception- See Also:
-
USER_AGENT_HEADER_PRESERVE
Defines weather synapse needs to preserve the original User-Agent header. Configures through nhttp.properties file or via a system property- See Also:
-
SERVER_HEADER_PRESERVE
Defines weather synapse needs to preserve the original Server header. Configures through nhttp.properties file or via a system property- See Also:
-
HTTP_HEADERS_PRESERVE
Defines weather synapse needs to preserve the original Http headers. Configures through nhttp.properties file- See Also:
-
FORCE_CLOSING
Denotes a connection close is forced if set at the NhttpContext- See Also:
-
MESSAGE_IN_FLIGHT
Denotes a message is being processed by the current connection if this is set at the context- See Also:
-
RCV_IO_ERROR_SENDING
public static final int RCV_IO_ERROR_SENDING- See Also:
-
RCV_IO_ERROR_RECEIVING
public static final int RCV_IO_ERROR_RECEIVING- See Also:
-
SND_IO_ERROR_SENDING
public static final int SND_IO_ERROR_SENDING- See Also:
-
SND_IO_ERROR_RECEIVING
public static final int SND_IO_ERROR_RECEIVING- See Also:
-
CONNECTION_FAILED
public static final int CONNECTION_FAILED- See Also:
-
CONNECTION_TIMEOUT
public static final int CONNECTION_TIMEOUT- See Also:
-
CONNECTION_CLOSED
public static final int CONNECTION_CLOSED- See Also:
-
PROTOCOL_VIOLATION
public static final int PROTOCOL_VIOLATION- See Also:
-
CONNECT_CANCEL
public static final int CONNECT_CANCEL- See Also:
-
CONNECT_TIMEOUT
public static final int CONNECT_TIMEOUT- See Also:
-
SEND_ABORT
public static final int SEND_ABORT- See Also:
-
RESPONSE_PROCESSING_FAILURE
public static final int RESPONSE_PROCESSING_FAILURE- See Also:
-
REST_URL_POSTFIX
- See Also:
-
SERVICE_PREFIX
- See Also:
-
HTTP_REQ_METHOD
- See Also:
-
NO_ENTITY_BODY
- See Also:
-
ENDPOINT_PREFIX
- See Also:
-
ACTIVITY_ID_STATUS
- See Also:
-
PRIORITY_CONFIG_FILE_NAME
- See Also:
-
REST_REQUEST_CONTENT_TYPE
- See Also:
-
OPEN_CONNNECTIONS_MAP
This constant is used to hold the open connections map in the ConfigurationContext- See Also:
-
COUNT_CONNECTIONS
Configuration in nhttp.properties file for enable connection counting- See Also:
-
REQ_ARRIVAL_TIME
- See Also:
-
REQ_DEPARTURE_TIME
- See Also:
-
RES_ARRIVAL_TIME
- See Also:
-
RES_HEADER_ARRIVAL_TIME
- See Also:
-
RES_DEPARTURE_TIME
- See Also:
-
REQ_FROM_CLIENT_READ_START_TIME
- See Also:
-
REQ_FROM_CLIENT_READ_END_TIME
- See Also:
-
REQ_TO_BACKEND_WRITE_START_TIME
- See Also:
-
REQ_TO_BACKEND_WRITE_END_TIME
- See Also:
-
RES_FROM_BACKEND_READ_START_TIME
- See Also:
-
RES_FROM_BACKEND_READ_END_TIME
- See Also:
-
RES_TO_CLIENT_WRITE_START_TIME
- See Also:
-
RES_TO_CLIENT_WRITE_END_TIME
- See Also:
-
SERVER_WORKER_INIT_TIME
- See Also:
-
SERVER_WORKER_START_TIME
- See Also:
-
CLIENT_WORKER_INIT_TIME
- See Also:
-
CLIENT_WORKER_START_TIME
- See Also:
-
CLIENT_REMOTE_ADDR
- See Also:
-
CLIENT_REMOTE_PORT
- See Also:
-
DISABLE_REST_SERVICE_DISPATCHING
This is a name of a parameter in transportReceiver. If set it will disable service dispatching inside the transport for rest messages- See Also:
-
NHTTP_INPUT_STREAM
Input stream of the message is set to this message context property- See Also:
-
NHTTP_OUTPUT_STREAM
Output stram of the message is set to this message context property- See Also:
-
HTTP_202_RECEIVED
A message context property indicating "TRUE", This will set on success scenarios- See Also:
-
HTTP_GET_PROCESSOR
This constant is used to plugin a custom WSDL processor for Get requests- See Also:
-
FORCE_CONNECTION_CLOSE
Use to flag a connection close- See Also:
-
PORT_OFFSET
- See Also:
-
HEADER_X_FORWARDED_FOR
Ref X-Forwaded-For header- See Also:
-
HEADER_X_FORWARDED_HOST
Ref X-Forwaded-Host header- See Also:
-
HEADER_X_ORIGINATING_IP_FORM_1
Ref X-Originating-IP Form 1- See Also:
-
HEADER_X_ORIGINATING_IP_FORM_2
Ref X-Originating-IP Form 1- See Also:
-
EXCESS_TRANSPORT_HEADERS
This holds a MultiValue Map, which keeps transport headers' values other than last value (in order they appear) against the transport header.- See Also:
-
REQUEST_HOST_HEADER
This property can be used to set the HOST header sent from the client to synapse- See Also:
-
SO_TIMEOUT_RECEIVER
nhttp property that must be defined in nhttp.properties to set receiver timeout and sender timeout.- See Also:
-
SO_TIMEOUT_SENDER
- See Also:
-
SERVER_WORKER_THREAD_ID
- See Also:
-
DYNAMIC_PROFILE_RELOAD_DEFAULT_INTERVAL
public static final int DYNAMIC_PROFILE_RELOAD_DEFAULT_INTERVALDefault minimum interval which checks any configuration file updates for Dynamic SSL Profiles Default value is one minute in milliseconds.- See Also:
-
HTTP_HEAD
Http method type constants to be used in synapse- See Also:
-
ORIGINAL_CONTENT_LEN
Used to keep backend responses content length- See Also:
-
HTTP_REQUEST_METHOD
Holds the method type of the incoming request- See Also:
-
SSL_CLIENT_AUTH_CERT_X509
Deprecated.X509 certificate chain for Mutual SSL connections- See Also:
-
SSL_CLIENT_AUTH_CERT
Certificates for Mutual SSL connections- See Also:
-
SSL_VERIFY_CLIENT
axis2 configuration to enable Mutual SSL - verify client's certificate- See Also:
-
DISTRIBUTED_TRANSACTION
- See Also:
-
DISTRIBUTED_TRANSACTION_MANAGER
- See Also:
-
PROXY_PROFILE_TARGET_HOST
Proxy profile target host identification. This is the same value as the passthru constant- See Also:
-
PREFERRED_CIPHERS
axis.xml config parameter that is used to specify the Weak Ciphers that need to be enabled- See Also:
-
MESSAGE_SIZE_VALIDATION_SUM
The largest request/response size the nhttp transport will be handling. Same as the passthru constant.- See Also:
-
CONNECTION_DROPPED
Constant string to define the if the server/client connection is dropped.- See Also:
-
DEFAULT_SOCKET_TIMEOUT
public static final int DEFAULT_SOCKET_TIMEOUT- See Also:
-
SYNAPSE_OPERATION_NAME
The operation name used by the Synapse service (for message mediation) -
DEFAULT_MEDIATE_OPERATION
The default operation name used by the axis service- See Also:
-
-
Constructor Details
-
NhttpConstants
public NhttpConstants()
-