MessageContext abstracts the message
context that is processed by a handler in the handle
method.
The MessageContext interface provides methods to
manage a property set. MessageContext properties
enable handlers in a handler chain to share processing related
state.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | MessageContext.Scope
Property scope. |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | HTTP_REQUEST_HEADERS
Standard property: HTTP request headers. |
| public static final String | HTTP_REQUEST_METHOD
Standard property: HTTP request method. |
| public static final String | HTTP_RESPONSE_CODE
Standard property: HTTP response status code. |
| public static final String | HTTP_RESPONSE_HEADERS
Standard property: HTTP response headers. |
| public static final String | INBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the inbound message, key is the MIME Content-ID, value is a DataHandler. |
| public static final String | MESSAGE_OUTBOUND_PROPERTY
Standard property: message direction, |
| public static final String | OUTBOUND_MESSAGE_ATTACHMENTS
Standard property: Map of attachments to a message for the outbound message, key is the MIME Content-ID, value is a DataHandler. |
| public static final String | |
| public static final String | QUERY_STRING
Standard property: Query string for request. |
| public static final String | REFERENCE_PARAMETERS
Standard property: WS Addressing Reference Parameters. |
| public static final String | SERVLET_CONTEXT
Standard property: servlet context object. |
| public static final String | SERVLET_REQUEST
Standard property: servlet request object. |
| public static final String | SERVLET_RESPONSE
Standard property: servlet response object. |
| public static final String | WSDL_DESCRIPTION
Standard property: input source for WSDL document. |
| public static final String | WSDL_INTERFACE
Standard property: name of wsdl interface (2.0) or port type (1.1). |
| public static final String | WSDL_OPERATION
Standard property: name of WSDL operation. |
| public static final String | WSDL_PORT
Standard property: name of WSDL port. |
| public static final String | WSDL_SERVICE
Standard property: name of WSDL service. |
| Modifier and Type | Method and Description |
|---|---|
| public MessageContext. | |
| public void | setScope(String
Name of the property associated with the
name, MessageContext.MessageContextDesired scope of the property scopeSets the scope of a property. |
| HTTP_REQUEST_HEADERS | back to summary |
|---|---|
| public static final String HTTP_REQUEST_HEADERS Standard property: HTTP request headers. Type: | |
| HTTP_REQUEST_METHOD | back to summary |
|---|---|
| public static final String HTTP_REQUEST_METHOD Standard property: HTTP request method. Type: java.lang.String | |
| HTTP_RESPONSE_CODE | back to summary |
|---|---|
| public static final String HTTP_RESPONSE_CODE Standard property: HTTP response status code. Type: java.lang.Integer | |
| HTTP_RESPONSE_HEADERS | back to summary |
|---|---|
| public static final String HTTP_RESPONSE_HEADERS Standard property: HTTP response headers. Type: | |
| INBOUND_MESSAGE_ATTACHMENTS | back to summary |
|---|---|
| public static final String INBOUND_MESSAGE_ATTACHMENTS Standard property: Map of attachments to a message for the inbound message, key is the MIME Content-ID, value is a DataHandler. Type: | |
| MESSAGE_OUTBOUND_PROPERTY | back to summary |
|---|---|
| public static final String MESSAGE_OUTBOUND_PROPERTY Standard property: message direction, Type: boolean | |
| OUTBOUND_MESSAGE_ATTACHMENTS | back to summary |
|---|---|
| public static final String OUTBOUND_MESSAGE_ATTACHMENTS Standard property: Map of attachments to a message for the outbound message, key is the MIME Content-ID, value is a DataHandler. Type: | |
| PATH_INFO | back to summary |
|---|---|
| public static final String PATH_INFO Standard property: Request Path Info Type: String | |
| QUERY_STRING | back to summary |
|---|---|
| public static final String QUERY_STRING Standard property: Query string for request. Type: String | |
| REFERENCE_PARAMETERS | back to summary |
|---|---|
| public static final String REFERENCE_PARAMETERS Standard property: WS Addressing Reference Parameters. The list MUST include all SOAP headers marked with the wsa:IsReferenceParameter="true" attribute. Type:
| |
| SERVLET_CONTEXT | back to summary |
|---|---|
| public static final String SERVLET_CONTEXT Standard property: servlet context object. Type: javax.servlet.ServletContext | |
| SERVLET_REQUEST | back to summary |
|---|---|
| public static final String SERVLET_REQUEST Standard property: servlet request object. Type: javax.servlet.http.HttpServletRequest | |
| SERVLET_RESPONSE | back to summary |
|---|---|
| public static final String SERVLET_RESPONSE Standard property: servlet response object. Type: javax.servlet.http.HttpServletResponse | |
| WSDL_DESCRIPTION | back to summary |
|---|---|
| public static final String WSDL_DESCRIPTION Standard property: input source for WSDL document. Type: org.xml.sax.InputSource | |
| WSDL_INTERFACE | back to summary |
|---|---|
| public static final String WSDL_INTERFACE Standard property: name of wsdl interface (2.0) or port type (1.1). Type: javax.xml.namespace.QName | |
| WSDL_OPERATION | back to summary |
|---|---|
| public static final String WSDL_OPERATION Standard property: name of WSDL operation. Type: javax.xml.namespace.QName | |
| WSDL_PORT | back to summary |
|---|---|
| public static final String WSDL_PORT Standard property: name of WSDL port. Type: javax.xml.namespace.QName | |
| WSDL_SERVICE | back to summary |
|---|---|
| public static final String WSDL_SERVICE Standard property: name of WSDL service. Type: javax.xml.namespace.QName | |
| getScope | back to summary |
|---|---|
| public MessageContext. Gets the scope of a property.
| |
| setScope | back to summary |
|---|---|
| public void setScope(String name, MessageContext. Sets the scope of a property.
| |
APPLICATION are
visible to handlers,
client applications and service endpoints; properties scoped as
HANDLER
are only normally visible to handlers.
| Modifier and Type | Field and Description |
|---|---|
| public static final MessageContext. | APPLICATION
Application visibility. |
| public static final MessageContext. | HANDLER
Handler visibility. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static MessageContext. | |
| public static MessageContext. |
| APPLICATION | back to summary |
|---|---|
| public static final MessageContext. Application visibility. | |
| HANDLER | back to summary |
|---|---|
| public static final MessageContext. Handler visibility. | |
| Scope | back to summary |
|---|---|
| private Scope() | |
| valueOf | back to summary |
|---|---|
| public static MessageContext. | |
| values | back to summary |
|---|---|
| public static MessageContext. | |