public class SOAPMessageContextImpl extends MessageUpdatableContext implements SOAPMessageContext
SOAPMessageContext
. This class is used at runtime
to pass to the handlers for processing soap messages.MessageContextImpl
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 |
---|
SOAPMessageContextImpl(WSBinding binding,
com.sun.xml.ws.api.message.Packet packet,
Set<String> roles) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getHeaders(QName header,
JAXBContext jaxbContext,
boolean allRoles) |
SOAPMessage |
getMessage() |
Set<String> |
getRoles() |
void |
setMessage(SOAPMessage soapMsg) |
protected void |
updateMessage()
Updates Message in the packet with user modifications
|
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 SOAPMessage getMessage()
getMessage
in interface SOAPMessageContext
public void setMessage(SOAPMessage soapMsg)
setMessage
in interface SOAPMessageContext
protected void updateMessage()
MessageUpdatableContext
public Object[] getHeaders(QName header, JAXBContext jaxbContext, boolean allRoles)
getHeaders
in interface SOAPMessageContext
public Set<String> getRoles()
getRoles
in interface SOAPMessageContext
Copyright © 2015 Oracle Corporation. All rights reserved.