public abstract class AbstractHTTPServlet
extends javax.servlet.http.HttpServlet
implements javax.servlet.Filter
Constructor and Description |
---|
AbstractHTTPServlet() |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
checkXForwardedHeaders(javax.servlet.http.HttpServletRequest request) |
protected void |
doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doOptions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
finalizeServletInit(javax.servlet.ServletConfig servletConfig) |
protected abstract Bus |
getBus() |
protected InputStream |
getResourceAsStream(String path) |
protected String |
getStaticResourceContentType(String extension) |
protected void |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.FilterConfig filterConfig) |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected abstract void |
invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected static List<Pattern> |
parseListSequence(String values) |
protected static Map<String,String> |
parseMapSequence(String sequence) |
protected void |
redirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pathInfo) |
protected void |
serveStaticContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String pathInfo) |
void |
service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
javax.http.servlet.HttpServlet does not let to override the code which deals with
unrecognized HTTP verbs such as PATCH (being standardized), WebDav ones, etc.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
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 void finalizeServletInit(javax.servlet.ServletConfig servletConfig)
protected InputStream getResourceAsStream(String path)
public final void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
protected void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doDelete
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doPut
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doHead(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doHead
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doOptions(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doOptions
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void service(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res) throws javax.servlet.ServletException, IOException
service
in interface javax.servlet.Servlet
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
javax.servlet.ServletException
protected javax.servlet.http.HttpServletRequest checkXForwardedHeaders(javax.servlet.http.HttpServletRequest request)
protected abstract Bus getBus()
protected void serveStaticContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pathInfo) throws javax.servlet.ServletException
javax.servlet.ServletException
protected void redirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pathInfo) throws javax.servlet.ServletException
javax.servlet.ServletException
protected abstract void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
javax.servlet.ServletException
Apache CXF