public abstract class GridServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
GridServlet() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
approveAccess(Configuration config,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Check if administrative access is allowed.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
By default, grid servlets are POST only, so GETs get you the welcome page.
|
protected ConfigBean |
getConfigBean(javax.servlet.http.HttpServletRequest req)
Get the config bean.
|
protected Configuration |
getConfiguration()
Get the configuration.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
req
- a HttpServletRequest
value.res
- a HttpServletResponse
value.IOException
- if an error occurs.javax.servlet.ServletException
- if an error occurs.protected Configuration getConfiguration() throws javax.servlet.ServletException, IOException
Configuration
value.javax.servlet.ServletException
- if an error occurs.IOException
- if an error occurs.protected ConfigBean getConfigBean(javax.servlet.http.HttpServletRequest req) throws javax.servlet.ServletException, IOException
req
- a HttpServletRequest
value.ConfigBean
value.javax.servlet.ServletException
- if an error occurs.IOException
- if an error occurs.protected boolean approveAccess(Configuration config, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException
config
- a Configuration
value.req
- a HttpServletRequest
value.res
- a HttpServletResponse
value.IOException
- if an error occurs.Copyright © 1999-2014 Apache OODT. All Rights Reserved.