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, service
protected 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.HttpServlet
javax.servlet.ServletException
IOException
protected 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
InvalidRequestException
protected static final ProductType getProductType(javax.servlet.http.HttpServletRequest req) throws InvalidRequestException
InvalidRequestException
Copyright © 2015. All Rights Reserved.