com.sun.xml.ws.client.dispatch
Class PacketDispatch

java.lang.Object
  extended by com.sun.xml.ws.client.Stub
      extended by com.sun.xml.ws.client.dispatch.DispatchImpl<Packet>
          extended by com.sun.xml.ws.client.dispatch.PacketDispatch
All Implemented Interfaces:
Component, ComponentRegistry, ResponseContextReceiver, WSBindingProvider, Closeable, BindingProvider, Dispatch<Packet>

public class PacketDispatch
extends DispatchImpl<Packet>

Dispatch implementation for Packet.

Since:
2.2.6

Field Summary
 
Fields inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl
allowFaultResponseMsg, AWAIT_TERMINATION_TIME, HTTP_REQUEST_METHOD_GET, HTTP_REQUEST_METHOD_POST, HTTP_REQUEST_METHOD_PUT, mode, soapVersion
 
Fields inherited from class com.sun.xml.ws.client.Stub
addrVersion, binding, endpointReference, operationDispatcher, owner, portInfo, portname, PREVENT_SYNC_START_FOR_ASYNC_INVOKE, requestContext, wsdlPort
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
PacketDispatch(QName port, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)
          Deprecated. 
PacketDispatch(WSPortInfo portInfo, BindingImpl binding, WSEndpointReference epr)
           
PacketDispatch(WSPortInfo portInfo, Tube pipe, BindingImpl binding, WSEndpointReference epr)
           
PacketDispatch(WSPortInfo portInfo, Tube pipe, BindingImpl binding, WSEndpointReference epr, boolean allowFaultResponseMsg)
           
 
Method Summary
(package private)  Packet createPacket(Packet request)
          Abstract method that is implemented by each concrete Dispatch class
(package private)  Packet toReturnValue(Packet response)
          Obtains the value to return from the response message.
 
Methods inherited from class com.sun.xml.ws.client.dispatch.DispatchImpl
checkNullAllowed, checkValidDataSourceDispatch, checkValidSOAPMessageDispatch, createSourceDispatch, createSourceDispatch, doInvoke, getPortName, invoke, invokeAsync, invokeAsync, invokeOneWay, isPAYLOADMode, isXMLHttp, methodNotOk, resolveEndpointAddress, resolveURI, setOutboundAttachments, setOutboundHeaders, setProperties
 
Methods inherited from class com.sun.xml.ws.client.Stub
close, getBinding, getComponents, getEndpointReference, getEndpointReference, getExecutor, getInboundHeaders, getManagedObjectManager, getOperationDispatcher, getPortInfo, getRequestContext, getResponseContext, getService, getServiceName, getSPI, getTubes, getWSDLPort, getWSEndpointReference, process, processAsync, resetRequestContext, setAddress, setOutboundHeaders, setOutboundHeaders, setResponseContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.xml.ws.BindingProvider
getBinding, getEndpointReference, getEndpointReference, getRequestContext, getResponseContext
 

Constructor Detail

PacketDispatch

@Deprecated
public PacketDispatch(QName port,
                                 WSServiceDelegate owner,
                                 Tube pipe,
                                 BindingImpl binding,
                                 @Nullable
                                 WSEndpointReference epr)
Deprecated. 


PacketDispatch

public PacketDispatch(WSPortInfo portInfo,
                      Tube pipe,
                      BindingImpl binding,
                      WSEndpointReference epr)

PacketDispatch

public PacketDispatch(WSPortInfo portInfo,
                      Tube pipe,
                      BindingImpl binding,
                      WSEndpointReference epr,
                      boolean allowFaultResponseMsg)

PacketDispatch

public PacketDispatch(WSPortInfo portInfo,
                      BindingImpl binding,
                      WSEndpointReference epr)
Method Detail

toReturnValue

Packet toReturnValue(Packet response)
Description copied from class: DispatchImpl
Obtains the value to return from the response message.

Specified by:
toReturnValue in class DispatchImpl<Packet>

createPacket

Packet createPacket(Packet request)
Description copied from class: DispatchImpl
Abstract method that is implemented by each concrete Dispatch class

Specified by:
createPacket in class DispatchImpl<Packet>
Parameters:
request - message passed in from the client program on the invocation
Returns:
The Message created returned as the Interface in actuallity a concrete Message Type


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