Package com.sun.xml.ws.handler
Class SOAPMessageContextImpl
- java.lang.Object
-
- com.sun.xml.ws.handler.MessageUpdatableContext
-
- com.sun.xml.ws.handler.SOAPMessageContextImpl
-
- All Implemented Interfaces:
Map<String,Object>,javax.xml.ws.handler.MessageContext,javax.xml.ws.handler.soap.SOAPMessageContext
public class SOAPMessageContextImpl extends MessageUpdatableContext implements javax.xml.ws.handler.soap.SOAPMessageContext
Implementation ofSOAPMessageContext. This class is used at runtime to pass to the handlers for processing soap messages.- Author:
- WS Development Team
- See Also:
MessageContextImpl
-
-
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 Constructor Description SOAPMessageContextImpl(WSBinding binding, Packet packet, Set<String> roles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getHeaders(QName header, javax.xml.bind.JAXBContext jaxbContext, boolean allRoles)javax.xml.soap.SOAPMessagegetMessage()Set<String>getRoles()voidsetMessage(javax.xml.soap.SOAPMessage soapMsg)protected voidupdateMessage()-
Methods 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
-
-
-
-
Method Detail
-
getMessage
public javax.xml.soap.SOAPMessage getMessage()
- Specified by:
getMessagein interfacejavax.xml.ws.handler.soap.SOAPMessageContext
-
setMessage
public void setMessage(javax.xml.soap.SOAPMessage soapMsg)
- Specified by:
setMessagein interfacejavax.xml.ws.handler.soap.SOAPMessageContext
-
updateMessage
protected void updateMessage()
-
getHeaders
public Object[] getHeaders(QName header, javax.xml.bind.JAXBContext jaxbContext, boolean allRoles)
- Specified by:
getHeadersin interfacejavax.xml.ws.handler.soap.SOAPMessageContext
-
-