public class RequestContext extends Object
Modifier and Type | Field and Description |
---|---|
protected Stack<Panel> |
panelStack |
protected String |
showPage |
Modifier | Constructor and Description |
---|---|
protected |
RequestContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
Modifier and Type | Method and Description |
---|---|
Panel |
activatePanel(Panel panel) |
void |
compareConsumedUri() |
void |
consumeURIPart(String uriPart) |
Panel |
deactivatePanel(Panel panel) |
static void |
destroy() |
Panel |
getActivePanel() |
protected StringBuffer |
getConsumedRequestURI() |
CommandRequest |
getRequest() |
CommandResponse |
getResponse() |
String |
getShowPage() |
String |
getURIToBeConsumed() |
static RequestContext |
init(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static RequestContext |
lookup() |
void |
setResponse(CommandResponse response) |
void |
setShowPage(String showPage) |
void |
setURIToBeConsumed(String requestURI) |
protected RequestContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
public static RequestContext lookup()
public static RequestContext init(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
public static void destroy()
public CommandRequest getRequest()
public Panel getActivePanel()
public String getShowPage()
public void setShowPage(String showPage)
public CommandResponse getResponse()
public void setResponse(CommandResponse response)
protected StringBuffer getConsumedRequestURI()
public void setURIToBeConsumed(String requestURI)
public String getURIToBeConsumed()
public void consumeURIPart(String uriPart)
public void compareConsumedUri()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.