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(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Process Web service request, dispatch among set of VtiEndpoints.
|
protected WebDAVLockService |
getLockService()
Access the WebDAVLockService.
|
static String |
getSOAPAction(javax.servlet.http.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, startTagpublic void execute(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request)
protected VtiEndpoint dispatchRequest(VtiSoapRequest request)
Dispatch among set of VtiEndpoints.
request - VtiSoapRequestprotected WebDAVLockService getLockService()
public void setLockService(WebDAVLockService lockService)
lockService - the lockService to setCopyright © 2005–2014 Alfresco Software. All rights reserved.