com.caucho.burlap.server
Class BurlapServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by com.caucho.burlap.server.BurlapServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class BurlapServlet
extends GenericServlet

Servlet for serving Burlap services.

See Also:
Serialized Form

Constructor Summary
BurlapServlet()
           
 
Method Summary
 String getServletInfo()
           
 void init(ServletConfig config)
          Initialize the service, including the service object.
 void service(ServletRequest request, ServletResponse response)
          Execute a request.
 void setAPIClass(Class<?> apiClass)
          Sets the api-class.
 void setService(Object service)
          Sets the service class.
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BurlapServlet

public BurlapServlet()
Method Detail

getServletInfo

public String getServletInfo()
Specified by:
getServletInfo in interface Servlet
Overrides:
getServletInfo in class GenericServlet

setService

public void setService(Object service)
Sets the service class.


setAPIClass

public void setAPIClass(Class<?> apiClass)
Sets the api-class.


init

public void init(ServletConfig config)
          throws ServletException
Initialize the service, including the service object.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

service

public void service(ServletRequest request,
                    ServletResponse response)
             throws IOException,
                    ServletException
Execute a request. The path-info of the request selects the bean. Once the bean's selected, it will be applied.

Specified by:
service in interface Servlet
Specified by:
service in class GenericServlet
Throws:
IOException
ServletException


Copyright © 2013. All Rights Reserved.