| java.lang.Object com.sun.xml.ws.client.Stub com.sun.xml.ws.client.dispatch.DispatchImpl
DispatchImpl | abstract public class DispatchImpl extends Stub implements Dispatch<T>(Code) | | The DispatchImpl abstract class provides support
for the dynamic invocation of a service endpoint operation using XML
constructs, JAXB objects or SOAPMessage . The javax.xml.ws.Service
interface acts as a factory for the creation of DispatchImpl
instances.
author: WS Development Team version: 1.0 |
Method Summary | |
static void | checkNullAllowed(Object in, RequestContext rc, WSBinding binding, Service.Mode mode) | public static void | checkValidDataSourceDispatch(WSBinding binding, Service.Mode mode) | public static void | checkValidSOAPMessageDispatch(WSBinding binding, Service.Mode mode) | abstract Packet | createPacket(T msg) | public static Dispatch<Source> | createSourceDispatch(QName port, Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr) | final public T | doInvoke(T in, RequestContext rc, ResponseContextReceiver receiver) Synchronously invokes a service. | final protected QName | getPortName() | final public T | invoke(T in) | final public Response<T> | invokeAsync(T param) | final public Future> | invokeAsync(T param, AsyncHandler<T> asyncHandler) | final public void | invokeOneWay(T in) | static boolean | isPAYLOADMode(Service.Mode mode) | static boolean | isXMLHttp(WSBinding binding) | static boolean | methodNotOk(RequestContext rc) | void | resolveEndpointAddress(Packet message, RequestContext requestContext) | protected String | resolveURI(URI endpointURI, String pathInfo, String queryString) | protected AttachmentSet | setOutboundAttachments() | public void | setOutboundHeaders(Object... headers) | void | setProperties(Packet packet, boolean expectReply) | abstract T | toReturnValue(Packet response) Obtains the value to return from the response message. |
AWAIT_TERMINATION_TIME | final static long AWAIT_TERMINATION_TIME(Code) | | |
HTTP_REQUEST_METHOD_GET | final static String HTTP_REQUEST_METHOD_GET(Code) | | |
HTTP_REQUEST_METHOD_POST | final static String HTTP_REQUEST_METHOD_POST(Code) | | |
HTTP_REQUEST_METHOD_PUT | final static String HTTP_REQUEST_METHOD_PUT(Code) | | |
DispatchImpl | protected DispatchImpl(QName port, Service.Mode mode, WSServiceDelegate owner, Tube pipe, BindingImpl binding, WSEndpointReference epr)(Code) | | Parameters: port - dispatch instance is asssociated with this wsdl port qName Parameters: mode - Service.mode associated with this Dispatch instance - Service.mode.MESSAGE or Service.mode.PAYLOAD Parameters: owner - Service that created the Dispatch Parameters: pipe - Master pipe for the pipeline Parameters: binding - Binding of this Dispatch instance, current one of SOAP/HTTP or XML/HTTP |
createPacket | abstract Packet createPacket(T msg)(Code) | | Abstract method that is implemented by each concrete Dispatch class
Parameters: msg - message passed in from the client program on the invocation The Message created returned as the Interface in actuallity aconcrete Message Type |
invoke | final public T invoke(T in)(Code) | | |
invokeOneWay | final public void invokeOneWay(T in)(Code) | | |
setOutboundHeaders | public void setOutboundHeaders(Object... headers)(Code) | | |
setProperties | void setProperties(Packet packet, boolean expectReply)(Code) | | |
toReturnValue | abstract T toReturnValue(Packet response)(Code) | | Obtains the value to return from the response message.
|
|
|