public abstract class AbstractKatharsisServlet
extends javax.servlet.http.HttpServlet
Child class can override createKatharsisInvoker() method with
proper ObjectMapper, ResourceRegistry and RequestDispatcher.
| Constructor and Description |
|---|
AbstractKatharsisServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected KatharsisInvoker |
createKatharsisInvoker() |
protected abstract KatharsisInvokerBuilder |
createKatharsisInvokerBuilder() |
protected KatharsisInvokerContext |
createKatharsisInvokerContext(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
KatharsisInvoker |
getKatharsisInvoker() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setKatharsisInvoker(KatharsisInvoker katharsisInvoker) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionpublic KatharsisInvoker getKatharsisInvoker() throws Exception
Exceptionpublic void setKatharsisInvoker(KatharsisInvoker katharsisInvoker)
protected KatharsisInvokerContext createKatharsisInvokerContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected KatharsisInvoker createKatharsisInvoker() throws Exception
Exceptionprotected abstract KatharsisInvokerBuilder createKatharsisInvokerBuilder()
Copyright © 2017. All Rights Reserved.