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 StringBINDING_PROVIDERprotected EndpointDescriptionendpointDescprotected Map<String,Object>requestContextprotected Map<String,Object>responseContextprotected ServiceDelegateserviceDelegate-
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 voidcheckMaintainSessionState(MessageContext mc, InvocationContext ic)Check for maintain session state enablement either in the MessageContext.isMaintainSession() or in the ServiceContext properties.BindinggetBinding()EndpointDescriptiongetEndpointDescription()EndpointReferencegetEndpointReference()<T extends EndpointReference>
TgetEndpointReference(Class<T> clazz)Map<String,Object>getRequestContext()Map<String,Object>getResponseContext()ServiceDelegategetServiceDelegate()protected voidsetupSessionContext(Map<String,Object> properties)protected booleanuseSoapAction()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:
getServiceDelegatein interfaceBindingProvider
-
getEndpointDescription
public EndpointDescription getEndpointDescription()
- Specified by:
getEndpointDescriptionin interfaceBindingProvider
-
getBinding
public Binding getBinding()
- Specified by:
getBindingin interfaceBindingProvider
-
getRequestContext
public Map<String,Object> getRequestContext()
- Specified by:
getRequestContextin interfaceBindingProvider
-
getResponseContext
public Map<String,Object> getResponseContext()
- Specified by:
getResponseContextin 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:
getEndpointReferencein interfaceBindingProvider
-
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
- Specified by:
getEndpointReferencein interfaceBindingProvider
-
-