public class CleverServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
CleverServlet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getServletName() |
protected Map<String,byte[]> |
readParts(javax.servlet.http.HttpServletRequest req) |
void |
setHolder(org.eclipse.jetty.servlet.ServletHolder holder) |
void |
setMultipartConfig(javax.servlet.MultipartConfigElement config) |
protected void |
writeJSONError(String message,
javax.servlet.ServletOutputStream output) |
protected void |
writeJsonResponseError(String error,
OutputStream output) |
protected void |
writeJSONResult(Object result,
javax.servlet.ServletOutputStream output) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic String getServletName()
getServletName in interface javax.servlet.ServletConfiggetServletName in class javax.servlet.GenericServletpublic void setHolder(org.eclipse.jetty.servlet.ServletHolder holder)
public void setMultipartConfig(javax.servlet.MultipartConfigElement config)
protected void writeJSONError(String message, javax.servlet.ServletOutputStream output) throws IOException
IOExceptionprotected void writeJSONResult(Object result, javax.servlet.ServletOutputStream output) throws IOException
IOExceptionprotected Map<String,byte[]> readParts(javax.servlet.http.HttpServletRequest req) throws javax.servlet.ServletException, IOException
javax.servlet.ServletExceptionIOExceptionprotected void writeJsonResponseError(String error, OutputStream output) throws IOException
IOExceptionCopyright © 2020 Prompto. All rights reserved.