public class VtiSoapAction extends VtiUtilBase implements VtiAction
VtiSoapAction is processor of Web service requests. It provides
the back-end controller for dispatching among set of VtiEndpoints.
It selects and invokes a realization of VtiEndpoint
to perform
the requested Web service method. In addition it is an adapter for
wrapping HttpServletRequest and HttpServletResponse in VtiSoapRequest
and VtiSoapResponse
.
Constructor and Description |
---|
VtiSoapAction() |
Modifier and Type | Method and Description |
---|---|
protected VtiEndpoint |
dispatchRequest(VtiSoapRequest request)
Dispatch among set of VtiEndpoints.
|
void |
execute(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
Process Web service request, dispatch among set of VtiEndpoints.
|
protected WebDAVLockService |
getLockService()
Access the WebDAVLockService.
|
static String |
getSOAPAction(HttpServletRequest request)
Returns the SOAP Action that was requested, or NULL if the request isn't a SOAP action.
|
void |
setEndpointsMapping(Map<String,VtiEndpoint> endpointsMapping)
Endpoints mapping setter.
|
void |
setLockService(WebDAVLockService lockService)
Provide the WebDAVLockService.
|
endTag, processTag, singleTag, singleTag, startTag, startTag
public void execute(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
Process Web service request, dispatch among set of VtiEndpoints.
Select and invoke a realization of VtiEndpoint
to perform the
requested Web service method
public void setEndpointsMapping(Map<String,VtiEndpoint> endpointsMapping)
Endpoints mapping setter.
endpointsMapping
- describe mapping from name of Web service method to
its realization.public static String getSOAPAction(HttpServletRequest request)
protected VtiEndpoint dispatchRequest(VtiSoapRequest request)
Dispatch among set of VtiEndpoints.
request
- VtiSoapRequest
protected WebDAVLockService getLockService()
public void setLockService(WebDAVLockService lockService)
lockService
- the lockService to setCopyright © 2005–2017 Alfresco Software. All rights reserved.