public class BindingProvider extends Object implements BindingProvider
Modifier and Type | Field and Description |
---|---|
static String |
BINDING_PROVIDER |
protected EndpointDescription |
endpointDesc |
protected Map<String,Object> |
requestContext |
protected Map<String,Object> |
responseContext |
protected ServiceDelegate |
serviceDelegate |
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
Constructor and Description |
---|
BindingProvider(ServiceDelegate svcDelegate,
EndpointDescription epDesc,
EndpointReference epr,
String addressingNamespace,
WebServiceFeature... features) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkMaintainSessionState(MessageContext mc,
InvocationContext ic)
Check for maintain session state enablement either in the
MessageContext.isMaintainSession() or in the ServiceContext properties.
|
Binding |
getBinding() |
EndpointDescription |
getEndpointDescription() |
EndpointReference |
getEndpointReference() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz) |
Map<String,Object> |
getRequestContext() |
Map<String,Object> |
getResponseContext() |
ServiceDelegate |
getServiceDelegate() |
protected void |
setupSessionContext(Map<String,Object> properties) |
protected boolean |
useSoapAction()
Returns a boolean value representing whether or not a SOAPAction header should be sent with
the request.
|
protected EndpointDescription endpointDesc
protected ServiceDelegate serviceDelegate
public static final String BINDING_PROVIDER
public BindingProvider(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
public ServiceDelegate getServiceDelegate()
public EndpointDescription getEndpointDescription()
public Binding getBinding()
getBinding
in interface BindingProvider
public Map<String,Object> getRequestContext()
getRequestContext
in interface BindingProvider
public Map<String,Object> getResponseContext()
getResponseContext
in interface BindingProvider
protected void checkMaintainSessionState(MessageContext mc, InvocationContext ic)
mc
- ic
- protected boolean useSoapAction()
public EndpointReference getEndpointReference()
getEndpointReference
in interface BindingProvider
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
getEndpointReference
in interface BindingProvider
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.