public class JsonRestServlet extends javax.servlet.http.HttpServlet implements HttpServiceServlet
PropertyFormat).| Modifier and Type | Field and Description |
|---|---|
static Set<String> |
commonRequestParameters |
static int |
DEFAULT_VALUE_PAGE_SIZE |
static String |
DEFAULT_VALUE_SORT_ORDER |
static String |
REQUEST_PARAMETER_LOOSE_SEARCH |
static String |
REQUEST_PARAMETER_OFFSET_ID |
static String |
REQUEST_PARAMETER_PAGE_NUMBER |
static String |
REQUEST_PARAMETER_PAGE_SIZE |
static String |
REQUEST_PARAMETER_SORT_KEY |
static String |
REQUEST_PARAMETER_SORT_ORDER |
| Constructor and Description |
|---|
JsonRestServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
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 |
doTrace(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
StructrHttpServiceConfig |
getConfig() |
void |
init() |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic static final int DEFAULT_VALUE_PAGE_SIZE
public static final String DEFAULT_VALUE_SORT_ORDER
public static final String REQUEST_PARAMETER_LOOSE_SEARCH
public static final String REQUEST_PARAMETER_PAGE_NUMBER
public static final String REQUEST_PARAMETER_PAGE_SIZE
public static final String REQUEST_PARAMETER_OFFSET_ID
public static final String REQUEST_PARAMETER_SORT_KEY
public static final String REQUEST_PARAMETER_SORT_ORDER
public StructrHttpServiceConfig getConfig()
getConfig in interface HttpServiceServletpublic void init()
init in class javax.servlet.GenericServletpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void doDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doDelete in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doHead in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doOptions(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doOptions in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPut(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPut in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doTrace(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doTrace in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2014. All rights reserved.