Package com.sun.xml.ws.handler
Class MessageHandlerContextImpl
java.lang.Object
com.sun.xml.ws.handler.MessageUpdatableContext
com.sun.xml.ws.handler.MessageHandlerContextImpl
- All Implemented Interfaces:
MessageHandlerContext,Map<String,,Object> javax.xml.ws.handler.MessageContext
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 javax.xml.ws.handler.MessageContext
javax.xml.ws.handler.MessageContext.Scope -
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the message from this message contextgetPort()Gets theWSDLPortthat represents the port.getRoles()Provides access toSEIModel.Provides access toWSBindingwhich can be used in various ways.voidsetMessage(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, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, valuesMethods inherited from interface javax.xml.ws.handler.MessageContext
getScope, setScope
-
Constructor Details
-
MessageHandlerContextImpl
-
-
Method Details
-
getMessage
Description copied from interface:MessageHandlerContextGets the message from this message context- Specified by:
getMessagein interfaceMessageHandlerContext- Returns:
- The contained message; returns
nullif no message is present in this message context
-
setMessage
Description copied from interface:MessageHandlerContextSets the message in this message context- Specified by:
setMessagein interfaceMessageHandlerContext
-
getRoles
- Specified by:
getRolesin interfaceMessageHandlerContext- See Also:
-
SOAPMessageContext.getRoles()
-
getWSBinding
Description copied from interface:MessageHandlerContextProvides access toWSBindingwhich can be used in various ways. for example:WSBinding#getSOAPVersionto get SOAP version of the binding.WSBinding#isFeatureEnabled(AddressingFeature)to check if addressing is enabled- Specified by:
getWSBindingin interfaceMessageHandlerContext
-
getSEIModel
Description copied from interface:MessageHandlerContextProvides access toSEIModel.- Specified by:
getSEIModelin interfaceMessageHandlerContext
-
getPort
Description copied from interface:MessageHandlerContextGets theWSDLPortthat represents the port.- Specified by:
getPortin interfaceMessageHandlerContext- Returns:
- returns the WSDLModel of the port that the client/endpoint binds to. null when the Service is not configured with WSDL information.
-