public abstract class BaseServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected static Common |
common |
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
BaseServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected static int |
getHSPECId(javax.servlet.http.HttpServletRequest req) |
protected static ProductType |
getProductType(javax.servlet.http.HttpServletRequest req) |
protected static String |
getScientificName(javax.servlet.http.HttpServletRequest req) |
protected abstract InputStream |
handleRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected static boolean |
hasScientificName(javax.servlet.http.HttpServletRequest req) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected static final org.slf4j.Logger logger
protected static Common common
protected abstract InputStream handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException, ImageNotFoundException, InvalidRequestException, Exception
protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected static final boolean hasScientificName(javax.servlet.http.HttpServletRequest req)
protected static final String getScientificName(javax.servlet.http.HttpServletRequest req)
protected static final int getHSPECId(javax.servlet.http.HttpServletRequest req)
throws InvalidRequestException
InvalidRequestExceptionprotected static final ProductType getProductType(javax.servlet.http.HttpServletRequest req) throws InvalidRequestException
InvalidRequestExceptionCopyright © 2015. All Rights Reserved.