Package org.apache.axis2.jaxws
Class BindingProvider
- java.lang.Object
-
- org.apache.axis2.jaxws.BindingProvider
-
- All Implemented Interfaces:
BindingProvider
,BindingProvider
- Direct Known Subclasses:
BaseDispatch
,JAXWSProxyHandler
public class BindingProvider extends Object implements BindingProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
BINDING_PROVIDER
protected EndpointDescription
endpointDesc
protected Map<String,Object>
requestContext
protected Map<String,Object>
responseContext
protected ServiceDelegate
serviceDelegate
-
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
Constructors Constructor Description BindingProvider(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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>
TgetEndpointReference(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.
-
-
-
Field Detail
-
endpointDesc
protected EndpointDescription endpointDesc
-
serviceDelegate
protected ServiceDelegate serviceDelegate
-
BINDING_PROVIDER
public static final String BINDING_PROVIDER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BindingProvider
public BindingProvider(ServiceDelegate svcDelegate, EndpointDescription epDesc, EndpointReference epr, String addressingNamespace, WebServiceFeature... features)
-
-
Method Detail
-
getServiceDelegate
public ServiceDelegate getServiceDelegate()
- Specified by:
getServiceDelegate
in interfaceBindingProvider
-
getEndpointDescription
public EndpointDescription getEndpointDescription()
- Specified by:
getEndpointDescription
in interfaceBindingProvider
-
getBinding
public Binding getBinding()
- Specified by:
getBinding
in interfaceBindingProvider
-
getRequestContext
public Map<String,Object> getRequestContext()
- Specified by:
getRequestContext
in interfaceBindingProvider
-
getResponseContext
public Map<String,Object> getResponseContext()
- Specified by:
getResponseContext
in interfaceBindingProvider
-
checkMaintainSessionState
protected void checkMaintainSessionState(MessageContext mc, InvocationContext ic)
Check for maintain session state enablement either in the MessageContext.isMaintainSession() or in the ServiceContext properties.- Parameters:
mc
-ic
-
-
useSoapAction
protected boolean useSoapAction()
Returns a boolean value representing whether or not a SOAPAction header should be sent with the request.
-
getEndpointReference
public EndpointReference getEndpointReference()
- Specified by:
getEndpointReference
in interfaceBindingProvider
-
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
- Specified by:
getEndpointReference
in interfaceBindingProvider
-
-