public class DispatchImpl<T> extends Object implements Dispatch<T>, BindingProvider, Closeable
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
close() |
Binding |
getBinding() |
Client |
getClient() |
EndpointReference |
getEndpointReference() |
<X extends EndpointReference> |
getEndpointReference(Class<X> clazz) |
Map<String,Object> |
getRequestContext() |
Map<String,Object> |
getResponseContext() |
T |
invoke(T obj) |
T |
invoke(T obj,
boolean isOneWay) |
Response<T> |
invokeAsync(T obj) |
Future<?> |
invokeAsync(T obj,
AsyncHandler<T> asyncHandler) |
void |
invokeOneWay(T obj) |
public Map<String,Object> getRequestContext()
getRequestContext
in interface BindingProvider
public Map<String,Object> getResponseContext()
getResponseContext
in interface BindingProvider
public Binding getBinding()
getBinding
in interface BindingProvider
public EndpointReference getEndpointReference()
getEndpointReference
in interface BindingProvider
public <X extends EndpointReference> X getEndpointReference(Class<X> clazz)
getEndpointReference
in interface BindingProvider
public Future<?> invokeAsync(T obj, AsyncHandler<T> asyncHandler)
invokeAsync
in interface Dispatch<T>
public Response<T> invokeAsync(T obj)
invokeAsync
in interface Dispatch<T>
public void invokeOneWay(T obj)
invokeOneWay
in interface Dispatch<T>
public Client getClient()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Apache CXF