|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageHandlerContext
The MessageHandlerContext
interface extends
MessageContext
to provide easy access to the contained message.
This context provides access to RI's Message
model for efficient access
to various things like accessing headers etc. It also provides access to
binding information as WSBinding
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.xml.ws.handler.MessageContext |
---|
javax.xml.ws.handler.MessageContext.Scope |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Field Summary |
---|
Fields inherited from interface javax.xml.ws.handler.MessageContext |
---|
HTTP_REQUEST_HEADERS, HTTP_REQUEST_METHOD, HTTP_RESPONSE_CODE, HTTP_RESPONSE_HEADERS, INBOUND_MESSAGE_ATTACHMENTS, MESSAGE_OUTBOUND_PROPERTY, OUTBOUND_MESSAGE_ATTACHMENTS, PATH_INFO, QUERY_STRING, REFERENCE_PARAMETERS, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE, WSDL_DESCRIPTION, WSDL_INTERFACE, WSDL_OPERATION, WSDL_PORT, WSDL_SERVICE |
Method Summary | |
---|---|
Message |
getMessage()
Gets the message from this message context |
WSDLPort |
getPort()
Gets the WSDLPort that represents the port. |
Set<String> |
getRoles()
|
SEIModel |
getSEIModel()
Provides access to SEIModel . |
WSBinding |
getWSBinding()
Provides access to WSBinding which can be used in various ways. |
void |
setMessage(Message message)
Sets the message in this message context |
Methods inherited from interface javax.xml.ws.handler.MessageContext |
---|
getScope, setScope |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
Message getMessage()
null
if no
message is present in this message contextvoid setMessage(Message message)
Set<String> getRoles()
SOAPMessageContext.getRoles()
WSBinding getWSBinding()
WSBinding
which can be used in various ways.
for example: WSBinding#getSOAPVersion
to get SOAP version of the binding.
WSBinding#isFeatureEnabled(AddressingFeature)
to check if addressing is enabled
@Nullable SEIModel getSEIModel()
SEIModel
.
@Nullable WSDLPort getPort()
WSDLPort
that represents the port.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |