public class SOAPMessageContextImpl extends MessageUpdatableContext implements SOAPMessageContext
SOAPMessageContext. This class is used at runtime
to pass to the handlers for processing soap messages.MessageContextImplMessageContext.ScopeHTTP_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, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetScope, setScopeclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic SOAPMessage getMessage()
getMessage in interface SOAPMessageContextpublic void setMessage(SOAPMessage soapMsg)
setMessage in interface SOAPMessageContextprotected void updateMessage()
MessageUpdatableContextpublic Object[] getHeaders(QName header, JAXBContext jaxbContext, boolean allRoles)
getHeaders in interface SOAPMessageContextpublic Set<String> getRoles()
getRoles in interface SOAPMessageContextCopyright © 2015 Oracle Corporation. All rights reserved.