|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.caleigo.toolkit.tunnel.HTTPTunnelServlet
Field Summary | |
protected HTTPTunnelServer |
mHTTPTunnelServer
|
Constructor Summary | |
HTTPTunnelServlet()
|
Method Summary | |
void |
destroy()
Destroys the servlet. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP GET method. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the HTTP POST method. |
java.lang.String |
getApplicationRootPath()
Help method that returns the root path to where the application is started from. |
protected abstract java.lang.String |
getDescription()
|
protected abstract IService[] |
getServices()
|
java.lang.String |
getServletInfo()
Returns a short description of the servlet. |
void |
init()
Initializes the servlet. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
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 |
Field Detail |
protected HTTPTunnelServer mHTTPTunnelServer
Constructor Detail |
public HTTPTunnelServlet()
Method Detail |
public void init() throws javax.servlet.ServletException
javax.servlet.ServletException
public void destroy()
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
GET
method.
request
- servlet requestresponse
- servlet response
javax.servlet.ServletException
java.io.IOException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
POST
method.
request
- servlet requestresponse
- servlet response
javax.servlet.ServletException
java.io.IOException
public java.lang.String getServletInfo()
protected abstract java.lang.String getDescription()
protected abstract IService[] getServices()
public java.lang.String getApplicationRootPath()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |