|
||||||||||
| 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.jumpmind.symmetric.web.AbstractServlet
public abstract class AbstractServlet
| Constructor Summary | |
|---|---|
AbstractServlet()
|
|
| Method Summary | |
|---|---|
protected java.io.InputStream |
createInputStream(javax.servlet.http.HttpServletRequest req)
|
protected java.io.OutputStream |
createOutputStream(javax.servlet.http.HttpServletResponse resp)
|
protected void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected void |
doTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
protected org.springframework.context.ApplicationContext |
getDefaultApplicationContext()
|
protected abstract org.apache.commons.logging.Log |
getLogger()
|
protected java.lang.String |
getParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Returns the parameter with that name, trimmed to null |
protected java.lang.String |
getParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String defaultValue)
Returns the parameter with that name, trimmed to null. |
protected long |
getParameterAsNumber(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
|
protected void |
handleDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handleGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handleHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handleOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handlePost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handlePut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected void |
handleTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Override me to do real work. |
protected boolean |
sendError(javax.servlet.http.HttpServletResponse resp,
int statusCode)
Because you can't send an error when the response is already committed, this helps to avoid unnecessary errors in the logs. |
protected boolean |
sendError(javax.servlet.http.HttpServletResponse resp,
int statusCode,
java.lang.String message)
Because you can't send an error when the response is already committed, this helps to avoid unnecessary errors in the logs. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractServlet()
| Method Detail |
|---|
protected abstract org.apache.commons.logging.Log getLogger()
protected java.io.OutputStream createOutputStream(javax.servlet.http.HttpServletResponse resp)
throws java.io.IOException
java.io.IOException
protected java.io.InputStream createInputStream(javax.servlet.http.HttpServletRequest req)
throws java.io.IOException
java.io.IOExceptionprotected org.springframework.context.ApplicationContext getDefaultApplicationContext()
protected final void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handleGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected final void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handlePost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected final void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doPut in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handlePut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected final void doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doDelete in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handleDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected void doHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doHead in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handleHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected void doOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doOptions in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handleOptions(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected void doTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
doTrace in class javax.servlet.http.HttpServletjavax.servlet.ServletException
java.io.IOException
protected void handleTrace(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws java.lang.Exception
req - resp -
java.io.IOException
javax.servlet.ServletException
java.lang.Exception - everything else that could go wrong!
protected boolean sendError(javax.servlet.http.HttpServletResponse resp,
int statusCode)
throws java.io.IOException
resp - statusCode -
java.io.IOException
protected boolean sendError(javax.servlet.http.HttpServletResponse resp,
int statusCode,
java.lang.String message)
throws java.io.IOException
resp - statusCode - message - a message to put in the body of the response
java.io.IOException
protected java.lang.String getParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
request - name -
protected java.lang.String getParameter(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String defaultValue)
request - name -
protected long getParameterAsNumber(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||