org.codehaus.xfire.transport.http
Class XFireServletController
java.lang.Object
org.codehaus.xfire.transport.http.XFireServletController
public class XFireServletController
- extends Object
Loads XFire and processes requests.
- Since:
- Feb 13, 2004
- Author:
- Dan Diephouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTP_SERVLET_REQUEST
public static final String HTTP_SERVLET_REQUEST
- See Also:
- Constant Field Values
HTTP_SERVLET_RESPONSE
public static final String HTTP_SERVLET_RESPONSE
- See Also:
- Constant Field Values
HTTP_SERVLET_CONTEXT
public static final String HTTP_SERVLET_CONTEXT
- See Also:
- Constant Field Values
xfire
protected XFire xfire
transport
protected SoapHttpTransport transport
servletContext
protected javax.servlet.ServletContext servletContext
XFireServletController
public XFireServletController(XFire xfire)
XFireServletController
public XFireServletController(XFire xfire,
javax.servlet.ServletContext servletContext)
getRequest
public static javax.servlet.http.HttpServletRequest getRequest()
getResponse
public static javax.servlet.http.HttpServletResponse getResponse()
getTransportManager
protected TransportManager getTransportManager()
doService
public void doService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
- See Also:
HttpServlet.doGet(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
isWSDLRequest
protected boolean isWSDLRequest(javax.servlet.http.HttpServletRequest request)
generateService
protected void generateService(javax.servlet.http.HttpServletResponse response,
String serviceName)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
generateServices
protected void generateServices(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Parameters:
response
-
- Throws:
javax.servlet.ServletException
IOException
createMessageContext
protected MessageContext createMessageContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String service)
createChannel
protected Channel createChannel(MessageContext context)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
invoke
protected void invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String service)
throws javax.servlet.ServletException,
IOException,
UnsupportedEncodingException
- Parameters:
request
- response
- service
-
- Throws:
javax.servlet.ServletException
IOException
UnsupportedEncodingException
dequote
protected String dequote(String charEncoding)
getSoapAction
protected String getSoapAction(javax.servlet.http.HttpServletRequest request)
getEncoding
protected String getEncoding(String enc)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
generateWSDL
protected void generateWSDL(javax.servlet.http.HttpServletResponse response,
String service)
throws javax.servlet.ServletException,
IOException
- Parameters:
response
- service
-
- Throws:
javax.servlet.ServletException
IOException
getService
protected String getService(javax.servlet.http.HttpServletRequest request)
- Get the service that is mapped to the specified request.
getService
protected Service getService(String name)
getXFire
public XFire getXFire()
getServiceRegistry
public ServiceRegistry getServiceRegistry()
Copyright © 2004-2013. All Rights Reserved.