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>, MessageContext, SOAPMessageContext
public class SOAPMessageContextImpl
- extends MessageUpdatableContext
- implements SOAPMessageContext
Implementation of SOAPMessageContext
. This class is used at runtime
to pass to the handlers for processing soap messages.
- See Also:
MessageContextImpl
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
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 |
Methods inherited from class com.sun.xml.ws.handler.MessageUpdatableContext |
clear, containsKey, containsValue, entrySet, get, getMessageContext, getPacketMessage, 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, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
SOAPMessageContextImpl
public SOAPMessageContextImpl(WSBinding binding,
Packet packet,
Set<String> roles)
getMessage
public javax.xml.soap.SOAPMessage getMessage()
- Specified by:
getMessage
in interface SOAPMessageContext
setMessage
public void setMessage(javax.xml.soap.SOAPMessage soapMsg)
- Specified by:
setMessage
in interface SOAPMessageContext
setPacketMessage
void setPacketMessage(Message newMessage)
- Description copied from class:
MessageUpdatableContext
- Sets Message in the packet
Any user modifications done on previous Message are lost.
- Specified by:
setPacketMessage
in class MessageUpdatableContext
updateMessage
protected void updateMessage()
- Description copied from class:
MessageUpdatableContext
- Updates Message in the packet with user modifications
- Specified by:
updateMessage
in class MessageUpdatableContext
getHeaders
public Object[] getHeaders(QName header,
JAXBContext jaxbContext,
boolean allRoles)
- Specified by:
getHeaders
in interface SOAPMessageContext
getRoles
public Set<String> getRoles()
- Specified by:
getRoles
in interface SOAPMessageContext
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.