Class BridgeConstants
java.lang.Object
org.apache.synapse.transport.netty.BridgeConstants
BridgeConstants contains the constants related to netty axis2 bridge.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringIf you set this to true, it disables HTTP chunking for outgoing messages.static final StringThe message context property name which holds the error code for the last encountered exception.static final StringThe message context property name which holds the error detail (stack trace) for the last encountered exception.static final StringThe message context property name which holds the exception (if any) for the last encountered exception.static final StringThe MC property name which holds the error message for the last encountered exception.static final Stringstatic final Stringstatic final StringWhen ESB receives a soap fault as a HTTP 500 message, ESB will forward this fault to client with status code 200.static final StringForce HTTP 1.0 for outgoing HTTP messages.static final StringIf the request sent by the client contains the ‘Content-Length’ header, this property allows the ESB to send the request with the content length (without HTTP chunking) to the back end server.static final StringWhen set to true, this property forces a 202 HTTP response to the client immediately after the current execution thread finishes, so that the client stops waiting for a response.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final floatstatic final Stringstatic final floatstatic final Stringstatic final Stringstatic final Stringstatic final StringA message context property indicating "TRUE".static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThis property determines whether the HTTP Etag should be enabled for the request or not.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe HTTP status code.static final StringHTTP response's Reason- Phrase that is sent by the backend.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringA message context property indicating "TRUE" means the response is a server push promise.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final longstatic final Stringstatic final StringDisables HTTP keep alive for outgoing requests.static final Stringstatic final Stringstatic final shortstatic final Stringstatic final Stringstatic final Stringstatic final StringThis property makes the outgoing URL of the ESB a complete URL.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringA message context property that has the push promise from backend server if it is a server push response.static final StringAn Axis2 message context property that hols the raw payload when an error occurs while building message.static final Stringstatic final Stringstatic final StringThe value of this property will be set as the HTTP host header of outgoing request.static final Stringstatic final Stringstatic final Stringstatic final StringAn Axis2 message context property indicating a transport send failure.static final StringA message context property indicating "TRUE" means the response is a server push.static final StringA synapse message context property that defines the resource path of the push response.static final StringA message context property that stores the sequence that process server pushes.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TRANSPORT_HTTPWS
- See Also:
-
TRANSPORT_HTTPSWSS
- See Also:
-
PORT_PARAM
- See Also:
-
HOSTNAME_PARAM
- See Also:
-
HTTP_PROTOCOL_VERSIONS_PARAM
- See Also:
-
BRIDGE_LOG_PREFIX
- See Also:
-
VALUE_TRUE
- See Also:
-
VALUE_FALSE
- See Also:
-
TRUE
- See Also:
-
NO_ENTITY_BODY
- See Also:
-
PROTOCOL
- See Also:
-
REMOTE_HOST
- See Also:
-
HTTP_METHOD
- See Also:
-
CONTENT_TYPE_HEADER
- See Also:
-
SOAP_ACTION_HEADER
- See Also:
-
TRANSFER_ENCODING
- See Also:
-
CONTENT_LEN
- See Also:
-
REST_URL_POSTFIX
- See Also:
-
SERVICE_PREFIX
- See Also:
-
FAULT_MESSAGE
- See Also:
-
REST_REQUEST_CONTENT_TYPE
- See Also:
-
HTTP_CARBON_MESSAGE
- See Also:
-
HTTP_CLIENT_REQUEST_CARBON_MESSAGE
- See Also:
-
TRANSPORT_MESSAGE_HANDLER
- See Also:
-
MESSAGE_BUILDER_INVOKED
- See Also:
-
NO_CONTENT_LENGTH_FOUND
public static final long NO_CONTENT_LENGTH_FOUND- See Also:
-
ONE_BYTE
public static final short ONE_BYTE- See Also:
-
INVOKED_REST
- See Also:
-
NON_BLOCKING_TRANSPORT
- See Also:
-
CONTENT_TYPE_APPLICATION_OCTET_STREAM
- See Also:
-
JSON_CONTENT_TYPE
- See Also:
-
RELAY_EARLY_BUILD
- See Also:
-
HTTP_SOURCE_CONFIGURATION
- See Also:
-
HTTP_TARGET_CONFIGURATION
- See Also:
-
POOLED_BYTE_BUFFER_FACTORY
- See Also:
-
MESSAGE_OUTPUT_FORMAT
- See Also:
-
FORCE_SOAP_FAULT
- See Also:
-
NIO_ACK_REQUESTED
- See Also:
-
WSDL_REQUEST_HANDLED
- See Also:
-
DEFAULT_REQUEST_CONTENT_TYPE
- See Also:
-
VALID_CACHED_RESPONSE
- See Also:
-
ETAG_HEADER
- See Also:
-
PRE_LOCATION_HEADER
- See Also:
-
FULL_URI
- See Also:
-
INTERNAL_EXCEPTION_ORIGIN
- See Also:
-
INTERNAL_ORIGIN_ERROR_HANDLER
- See Also:
-
LOCATION
- See Also:
-
CONF_LOCATION
- See Also:
-
BUFFERED_INPUT_STREAM
- See Also:
-
CARBON_SERVER_XML_NAMESPACE
- See Also:
-
CHUNKING_CONFIG
- See Also:
-
DEFAULT_VERSION_HTTP_1_1
- See Also:
-
HTTP_1_1
public static final float HTTP_1_1- See Also:
-
HTTP_1_0
public static final float HTTP_1_0- See Also:
-
HTTP_2_0
- See Also:
-
HTTP_VERSION_PREFIX
- See Also:
-
HTTP_1_0_VERSION
- See Also:
-
HTTP_1_1_VERSION
- See Also:
-
HTTP_2_0_VERSION
- See Also:
-
AUTO
- See Also:
-
ALWAYS
- See Also:
-
NEVER
- See Also:
-
PROTOCOL_HTTP
- See Also:
-
PROTOCOL_HTTPS
- See Also:
-
CHANNEL_HANDLER_CONTEXT
- See Also:
-
HTTP_DEFAULT_HOST
- See Also:
-
TO
- See Also:
-
HTTP_HOST
- See Also:
-
HTTP_PORT
- See Also:
-
HTTP_TRACE_LOG
- See Also:
-
HTTP_TRACE_LOG_ENABLED
- See Also:
-
HTTP_ACCESS_LOG
- See Also:
-
HTTP_ACCESS_LOG_ENABLED
- See Also:
-
KEY_STORE
- See Also:
-
TRUST_STORE
- See Also:
-
SSL_VERIFY_CLIENT
- See Also:
-
SSL_PROTOCOL
- See Also:
-
HTTPS_PROTOCOL
- See Also:
-
CLIENT_REVOCATION
- See Also:
-
PREFERRED_CIPHERS
- See Also:
-
SSL_SESSION_TIMEOUT
- See Also:
-
SSL_HANDSHAKE_TIMEOUT
- See Also:
-
HOSTNAME_VERIFIER
- See Also:
-
STORE_LOCATION
- See Also:
-
TYPE
- See Also:
-
PASSWORD
- See Also:
-
KEY_PASSWORD
- See Also:
-
NO_VALIDATE_CERT
- See Also:
-
SSL_ENABLED_PROTOCOLS
- See Also:
-
CIPHERS
- See Also:
-
CACHE_SIZE
- See Also:
-
CACHE_DELAY
- See Also:
-
TLS_PROTOCOL
- See Also:
-
HTTP_HEAD
- See Also:
-
HTTP_GET
- See Also:
-
HTTP_POST
- See Also:
-
HTTP_DELETE
- See Also:
-
HTTP_PUT
- See Also:
-
HTTP_OPTIONS
- See Also:
-
HTTP_CONNECT
- See Also:
-
HTTP_STATUS_CODE_SENT_FROM_BACKEND
- See Also:
-
HTTP_REASON_PHRASE_SENT_FROM_BACKEND
- 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:
-
RAW_PAYLOAD
An Axis2 message context property that hols the raw payload when an error occurs while building message.- See Also:
-
FAULTS_AS_HTTP_200
When ESB receives a soap fault as a HTTP 500 message, ESB will forward this fault to client with status code 200.- See Also:
-
SC_ACCEPTED
- See Also:
-
HTTP_SC
The HTTP status code.- See Also:
-
HTTP_SC_DESC
HTTP response's Reason- Phrase that is sent by the backend. For example, if the backend sends the response's status as HTTP/1.1 200 OK, then the value of HTTP_SC_DESC is OK.- See Also:
-
FORCE_HTTP_1_0
Force HTTP 1.0 for outgoing HTTP messages.- See Also:
-
DISABLE_CHUNKING
If you set this to true, it disables HTTP chunking for outgoing messages.- See Also:
-
REQUEST_HOST_HEADER
The value of this property will be set as the HTTP host header of outgoing request.- See Also:
-
NO_KEEPALIVE
Disables HTTP keep alive for outgoing requests.- See Also:
-
POST_TO_URI
This property makes the outgoing URL of the ESB a complete URL. This is important when we talk through a Proxy Server.- See Also:
-
FORCE_HTTP_CONTENT_LENGTH
If the request sent by the client contains the ‘Content-Length’ header, this property allows the ESB to send the request with the content length (without HTTP chunking) to the back end server.- See Also:
-
FORCE_SC_ACCEPTED
When set to true, this property forces a 202 HTTP response to the client immediately after the current execution thread finishes, so that the client stops waiting for a response.- See Also:
-
IGNORE_SC_ACCEPTED
- See Also:
-
HTTP_ETAG_ENABLED
This property determines whether the HTTP Etag should be enabled for the request or not. HTTP Etag is a mechanism provided by HTTP for Web cache validation.- See Also:
-
SET_CHARACTER_ENCODING
- See Also:
-
HTTP_202_RECEIVED
A message context property indicating "TRUE". This will set on success scenarios.- See Also:
-
DEFAULT_OUTBOUND_USER_AGENT
- See Also:
-
SERVER_PUSH_SEQUENCE
A message context property that stores the sequence that process server pushes.- See Also:
-
PUSH_PROMISE
A message context property that has the push promise from backend server if it is a server push response.- See Also:
-
SERVER_PUSH_RESOURCE_PATH
A synapse message context property that defines the resource path of the push response.- See Also:
-
SERVER_PUSH
A message context property indicating "TRUE" means the response is a server push.- See Also:
-
IS_PUSH_PROMISE
A message context property indicating "TRUE" means the response is a server push promise.- See Also:
-
-
Constructor Details
-
BridgeConstants
public BridgeConstants()
-