public class BurlapServlet extends GenericServlet
Constructor and Description |
---|
BurlapServlet() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getServletInfo()
Returns a string describing the servlet.
|
void |
init(ServletConfig config)
Initialize the service, including the service object.
|
void |
service(ServletRequest request,
ServletResponse response)
Execute a request.
|
void |
setAPIClass(java.lang.Class<?> apiClass)
Sets the api-class.
|
void |
setService(java.lang.Object service)
Sets the service class.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log, toString
public java.lang.String getServletInfo()
GenericServlet
getServletInfo
in interface Servlet
getServletInfo
in class GenericServlet
public void setService(java.lang.Object service)
public void setAPIClass(java.lang.Class<?> apiClass)
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class GenericServlet
config
- the servlet's configurationServletException
public void service(ServletRequest request, ServletResponse response) throws java.io.IOException, ServletException
request
- request information. Normally servlets will cast this
to HttpServletRequest
response
- response information. Normally servlets will cast this
to HttpServletRequest
java.io.IOException
ServletException