public class MessageHandlerContextImpl extends MessageUpdatableContext implements MessageHandlerContext
MessageContext.Scope
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
Constructor and Description |
---|
MessageHandlerContextImpl(SEIModel seiModel,
WSBinding binding,
WSDLPort wsdlModel,
com.sun.xml.ws.api.message.Packet packet,
Set<String> roles) |
Modifier and Type | Method and Description |
---|---|
com.sun.xml.ws.api.message.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(com.sun.xml.ws.api.message.Message message)
Sets the message in this message context
|
clear, containsKey, containsValue, entrySet, get, getScope, isEmpty, keySet, put, putAll, remove, setScope, size, updatePacket, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getScope, setScope
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public com.sun.xml.ws.api.message.Message getMessage()
MessageHandlerContext
getMessage
in interface MessageHandlerContext
null
if no
message is present in this message contextpublic void setMessage(com.sun.xml.ws.api.message.Message message)
MessageHandlerContext
setMessage
in interface MessageHandlerContext
public Set<String> getRoles()
getRoles
in interface MessageHandlerContext
SOAPMessageContext.getRoles()
public WSBinding getWSBinding()
MessageHandlerContext
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 enabledgetWSBinding
in interface MessageHandlerContext
@Nullable public SEIModel getSEIModel()
MessageHandlerContext
SEIModel
.getSEIModel
in interface MessageHandlerContext
@Nullable public WSDLPort getPort()
MessageHandlerContext
WSDLPort
that represents the port.getPort
in interface MessageHandlerContext
Copyright © 2015 Oracle Corporation. All rights reserved.