com.sun.xml.ws.client.sei
Class ResponseBuilder.Header

java.lang.Object
  extended by com.sun.xml.ws.client.sei.ResponseBuilder
      extended by com.sun.xml.ws.client.sei.ResponseBuilder.Header
Enclosing class:
ResponseBuilder

public static final class ResponseBuilder.Header
extends 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
ResponseBuilder.Header(SOAPVersion soapVersion, ParameterImpl param, ValueSetter setter)
           
ResponseBuilder.Header(SOAPVersion soapVersion, javax.xml.namespace.QName name, XMLBridge<?> bridge, ValueSetter setter)
           
 
Method Summary
 java.lang.Object readResponse(Message msg, java.lang.Object[] args)
          Reads a response Message, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseBuilder.Header

public ResponseBuilder.Header(SOAPVersion soapVersion,
                              javax.xml.namespace.QName name,
                              XMLBridge<?> bridge,
                              ValueSetter setter)
Parameters:
soapVersion - SOAP1.1 or 1.2
name - 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.

ResponseBuilder.Header

public ResponseBuilder.Header(SOAPVersion soapVersion,
                              ParameterImpl param,
                              ValueSetter setter)
Method Detail

readResponse

public java.lang.Object readResponse(Message msg,
                                     java.lang.Object[] args)
                              throws javax.xml.bind.JAXBException
Description copied from class: ResponseBuilder
Reads a response Message, disassembles it, and moves obtained Java values to the expected places.

Specified by:
readResponse in class ResponseBuilder
Parameters:
msg - The reply Message to be de-composed.
args - The Java arguments given to the SEI method invocation. Some parts of the reply message may be set to Holders 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:
javax.xml.bind.JAXBException - if there's an error during unmarshalling the reply message.


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.