public final class RpcServlet<T>
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static int |
APPLICATION_EXC_STATUS |
static String |
CLIENT_ERROR_MESSAGE |
static String |
JSON_CONTENT_TYPE |
static String |
TEXT_CONTENT_TYPE |
| Constructor and Description |
|---|
RpcServlet(RpcHandler<T> handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String CLIENT_ERROR_MESSAGE
public static final String JSON_CONTENT_TYPE
public static final String TEXT_CONTENT_TYPE
public static final int APPLICATION_EXC_STATUS
public RpcServlet(RpcHandler<T> handler)
protected void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2014. All Rights Reserved.