public abstract class DoulosServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
DoulosServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected boolean |
isBlank(java.lang.String s) |
protected boolean |
isValidIP(java.lang.String remoteAddr) |
protected void |
registerDoulosRequestProcessor(java.lang.String doulosRequestProcessorKey,
DoulosRequestProcessor doulosRequestProcessor) |
protected abstract void |
registerDoulosRequestProcessors() |
protected void |
sendError(javax.servlet.http.HttpServletResponse response,
java.lang.String message) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
write(javax.servlet.http.HttpServletResponse response,
java.io.InputStream inputStream) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
java.io.IOException
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected boolean isBlank(java.lang.String s)
protected boolean isValidIP(java.lang.String remoteAddr)
protected void registerDoulosRequestProcessor(java.lang.String doulosRequestProcessorKey, DoulosRequestProcessor doulosRequestProcessor)
protected abstract void registerDoulosRequestProcessors() throws java.lang.Exception
java.lang.Exception
protected void sendError(javax.servlet.http.HttpServletResponse response, java.lang.String message) throws java.io.IOException
java.io.IOException
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
service
in class javax.servlet.http.HttpServlet
java.io.IOException
protected void write(javax.servlet.http.HttpServletResponse response, java.io.InputStream inputStream) throws java.io.IOException
java.io.IOException