org.codehaus.xfire.spring.remoting
Class XFireServletControllerAdapter
java.lang.Object
org.codehaus.xfire.transport.http.XFireServletController
org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter
public class XFireServletControllerAdapter
- extends XFireServletController
An adapter for the XFireServletController
so that it conforms to Springs MVC Controller
interface.
- Author:
- Dan Diephouse, Arjen Poutsma
Method Summary |
protected java.lang.String |
getService(HttpServletRequest request)
Get the service that is mapped to the specified request. |
ModelAndView |
handleRequest(HttpServletRequest request,
HttpServletResponse response)
Process the incoming SOAP request and create a SOAP response. |
void |
setServiceName(javax.xml.namespace.QName serviceName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XFireServletControllerAdapter
public XFireServletControllerAdapter(XFire xfire,
javax.xml.namespace.QName serviceName)
- Initializes a new instance of the adapter with the given XFire instance and service name.
- Parameters:
xfire
- the XFire instanceserviceName
- the name of the service
XFireServletControllerAdapter
public XFireServletControllerAdapter(XFire xfire)
- Initializes a new instance of the adapter with the given XFire instance.
- Parameters:
xfire
- the XFire instance
getService
protected java.lang.String getService(HttpServletRequest request)
- Description copied from class:
XFireServletController
- Get the service that is mapped to the specified request.
- Overrides:
getService
in class XFireServletController
handleRequest
public ModelAndView handleRequest(HttpServletRequest request,
HttpServletResponse response)
throws java.lang.Exception
- Process the incoming SOAP request and create a SOAP response.
- Parameters:
request
- current HTTP requestresponse
- current HTTP response
- Returns:
null
- Throws:
java.lang.Exception
- in case of errors
setServiceName
public void setServiceName(javax.xml.namespace.QName serviceName)
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.