java.lang.Object
com.sun.xml.ws.client.sei.ResponseBuilder
com.sun.xml.ws.client.sei.ResponseBuilder.Header
- Enclosing class:
- ResponseBuilder
Reads a header into a JAXB object.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.ws.client.sei.ResponseBuilder
ResponseBuilder.AttachmentBuilder, ResponseBuilder.Body, ResponseBuilder.Composite, ResponseBuilder.DocLit, ResponseBuilder.Header, ResponseBuilder.NullSetter, ResponseBuilder.RpcLit
-
Field Summary
Fields inherited from class com.sun.xml.ws.client.sei.ResponseBuilder
NONE, wrappedParts, wrapperName
-
Constructor Summary
ConstructorDescriptionHeader
(SOAPVersion soapVersion, ParameterImpl param, ValueSetter setter) Header
(SOAPVersion soapVersion, QName name, XMLBridge<?> bridge, ValueSetter setter) -
Method Summary
Modifier and TypeMethodDescriptionreadResponse
(Message msg, Object[] args) Reads a responseMessage
, disassembles it, and moves obtained Java values to the expected places.Methods inherited from class com.sun.xml.ws.client.sei.ResponseBuilder
getVMUninitializedValue, getWSDLPartName, readWrappedResponse
-
Constructor Details
-
Header
- Parameters:
soapVersion
- SOAP1.1 or 1.2name
- The name of the header element.bridge
- specifies how to unmarshal a header into a JAXB object.setter
- specifies how the obtained value is returned to the client.
-
Header
-
-
Method Details
-
readResponse
Description copied from class:ResponseBuilder
Reads a responseMessage
, disassembles it, and moves obtained Java values to the expected places.- Specified by:
readResponse
in classResponseBuilder
- Parameters:
msg
- The replyMessage
to be de-composed.args
- The Java arguments given to the SEI method invocation. Some parts of the reply message may be set toHolder
s in the arguments.- Returns:
- If a part of the reply message is returned as a return value from the SEI method, this method returns that value. Otherwise null.
- Throws:
jakarta.xml.bind.JAXBException
- if there's an error during unmarshalling the reply message.
-