The interface 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.
since: JAX-WS 2.0
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.
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.
final public static String REFERENCE_PARAMETERS(Code)
Standard property: WS Addressing Reference Parameters.
The list MUST include all SOAP headers marked with the
wsa:IsReferenceParameter="true" attribute.
Gets the scope of a property.
Parameters: name - Name of the property Scope of the property throws: java.lang.IllegalArgumentException - if a non-existantproperty name is specified
setScope
public void setScope(String name, Scope scope)(Code)
Sets the scope of a property.
Parameters: name - Name of the property associated with theMessageContext Parameters: scope - Desired scope of the property throws: java.lang.IllegalArgumentException - if an illegalproperty name is specified