public class AbstractAgent extends Object
Modifier and Type | Field and Description |
---|---|
protected ConfigurationContext |
configContext |
protected static String |
DEFAULT_INDEX_JSP |
protected Map |
operationCache |
Constructor and Description |
---|
AbstractAgent(ConfigurationContext aConfigContext) |
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected void |
populateRequestAttributes(javax.servlet.http.HttpServletRequest req) |
protected void |
processIndex(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Callback method for index page.
|
protected void |
processUnknown(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Callback method for unknown/unsupported requests.
|
protected void |
renderView(String jspName,
javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
protected static final String DEFAULT_INDEX_JSP
protected transient Map operationCache
protected transient ConfigurationContext configContext
public AbstractAgent(ConfigurationContext aConfigContext)
public void handle(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void processIndex(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
DEFAULT_INDEX_JSP
by default.httpServletRequest
- The incoming request.httpServletResponse
- The outgoing response.IOException
javax.servlet.ServletException
protected void processUnknown(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
httpServletRequest
- The incoming request.httpServletResponse
- The outgoing response.IOException
javax.servlet.ServletException
protected void renderView(String jspName, javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected void populateRequestAttributes(javax.servlet.http.HttpServletRequest req)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.