All Implemented Interfaces:
Map
All Known Implementing Classes:
SOAPMessageContext, LogicalMessageContext, MessageContext21
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.
JAX-WS
- 2.0Nested Class Summary: | ||
---|---|---|
public enum class | MessageContext.Scope | Property scope. Properties scoped as APPLICATION are
visible to handlers,
client applications and service endpoints; properties scoped as
HANDLER
are only normally visible to handlers. |
Field Summary | ||
---|---|---|
public static final String | MESSAGE_OUTBOUND_PROPERTY | Standard property: message direction, true for
outbound messages, false for inbound.
Type: boolean |
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: java.util.Map |
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: java.util.Map |
public static final String | WSDL_DESCRIPTION | Standard property: input source for WSDL document.
Type: org.xml.sax.InputSource |
public static final String | WSDL_SERVICE | Standard property: name of WSDL service.
Type: javax.xml.namespace.QName |
public static final String | WSDL_PORT | Standard property: name of WSDL port.
Type: javax.xml.namespace.QName |
public static final String | WSDL_INTERFACE | Standard property: name of wsdl interface (2.0) or port type (1.1).
Type: javax.xml.namespace.QName |
public static final String | WSDL_OPERATION | Standard property: name of WSDL operation.
Type: javax.xml.namespace.QName |
public static final String | HTTP_RESPONSE_CODE | Standard property: HTTP response status code.
Type: java.lang.Integer |
public static final String | HTTP_REQUEST_HEADERS | Standard property: HTTP request headers.
Type: java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
public static final String | HTTP_RESPONSE_HEADERS | Standard property: HTTP response headers.
Type: java.util.Map<java.lang.String, java.util.List<java.lang.String>> |
public static final String | HTTP_REQUEST_METHOD | Standard property: HTTP request method.
Type: java.lang.String |
public static final String | SERVLET_REQUEST | Standard property: servlet request object.
Type: javax.servlet.http.HttpServletRequest |
public static final String | SERVLET_RESPONSE | Standard property: servlet response object.
Type: javax.servlet.http.HttpServletResponse |
public static final String | SERVLET_CONTEXT | Standard property: servlet context object.
Type: javax.servlet.ServletContext |
public static final String | QUERY_STRING | Standard property: Query string for request.
Type: String * |
public static final String | PATH_INFO | Standard property: Request Path Info
Type: String |
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: List |
Method from javax.xml.ws.handler.MessageContext Summary: |
---|
getScope, setScope |
Method from javax.xml.ws.handler.MessageContext Detail: |
---|
|
|