java.lang.Object
com.sun.xml.ws.handler.MessageUpdatableContext
com.sun.xml.ws.handler.MessageHandlerContextImpl
- All Implemented Interfaces:
MessageHandlerContext
,jakarta.xml.ws.handler.MessageContext
,Map<String,
Object>
public class MessageHandlerContextImpl
extends MessageUpdatableContext
implements MessageHandlerContext
- Author:
- Rama Pulavarthi
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K extends Object,
V extends Object> Nested classes/interfaces inherited from interface jakarta.xml.ws.handler.MessageContext
jakarta.xml.ws.handler.MessageContext.Scope
-
Field Summary
Fields inherited from interface jakarta.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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message from this message contextgetPort()
Gets theWSDLPort
that represents the port.getRoles()
Provides access toSEIModel
.Provides access toWSBinding
which can be used in various ways.void
setMessage
(Message message) Sets the message in this message contextMethods inherited from class com.sun.xml.ws.handler.MessageUpdatableContext
clear, containsKey, containsValue, entrySet, get, getScope, isEmpty, keySet, put, putAll, remove, setScope, size, updatePacket, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
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
Methods inherited from interface jakarta.xml.ws.handler.MessageContext
getScope, setScope
-
Constructor Details
-
MessageHandlerContextImpl
-
-
Method Details
-
getMessage
Description copied from interface:MessageHandlerContext
Gets the message from this message context- Specified by:
getMessage
in interfaceMessageHandlerContext
- Returns:
- The contained message; returns
null
if no message is present in this message context
-
setMessage
Description copied from interface:MessageHandlerContext
Sets the message in this message context- Specified by:
setMessage
in interfaceMessageHandlerContext
-
getRoles
- Specified by:
getRoles
in interfaceMessageHandlerContext
- See Also:
-
SOAPMessageContext.getRoles()
-
getWSBinding
Description copied from interface:MessageHandlerContext
Provides access toWSBinding
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- Specified by:
getWSBinding
in interfaceMessageHandlerContext
-
getSEIModel
Description copied from interface:MessageHandlerContext
Provides access toSEIModel
.- Specified by:
getSEIModel
in interfaceMessageHandlerContext
-
getPort
Description copied from interface:MessageHandlerContext
Gets theWSDLPort
that represents the port.- Specified by:
getPort
in interfaceMessageHandlerContext
- Returns:
- returns the WSDLModel of the port that the client/endpoint binds to. null when the Service is not configured with WSDL information.
-