|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RunData is an interface to run-rime information that is passed within Summit. This provides the threading mechanism for the entire system because multiple requests can potentially come in at the same time. Thus, there is only one RunData implementation for each request that is being serviced.
Field Summary | |
static java.lang.String |
ROLE
|
Method Summary | |
java.lang.String |
getContentType()
Gets the HTTP content type to return. |
java.lang.String |
getContextPath()
Get the servlet's context path for this webapp. |
java.lang.Throwable |
getError()
Get the error that occurred during request processing |
java.util.Map |
getMap()
Gets the map attribute of the RunData object |
RequestParameters |
getParameters()
Gets the request parameters. |
javax.servlet.http.HttpServletRequest |
getRequest()
Gets the request attribute of the RunData object |
Resolution |
getResolution()
Gets the Resolver attribute of the RunData object |
javax.servlet.http.HttpServletResponse |
getResponse()
Gets the response attribute of the RunData object |
java.util.List |
getResultMessages()
|
java.lang.String |
getScriptName()
Get the initial script name. |
java.lang.String |
getServerName()
Get the server name. |
int |
getServerPort()
Get the server port. |
java.lang.String |
getServerScheme()
Get the server scheme. |
javax.servlet.ServletConfig |
getServletConfig()
Gets the servletConfig attribute of the RunData object |
javax.servlet.ServletContext |
getServletContext()
Get the servlet context for this turbine webapp. |
javax.servlet.http.HttpSession |
getSession()
Gets the session attribute of the RunData object |
java.lang.String |
getTarget()
Gets the target attribute of the RunData object |
boolean |
hasError()
Determine whether an error has occured during request processing |
boolean |
hasResultMessages()
|
boolean |
hasTarget()
Description of the Method |
void |
setContentType(java.lang.String ct)
Sets the HTTP content type to return. |
void |
setError(java.lang.Throwable error)
Set the error that occurred during request processing |
void |
setMap(java.util.Map map)
Sets the map attribute of the RunData object |
void |
setRequest(javax.servlet.http.HttpServletRequest r)
Sets the request attribute of the RunData object |
void |
setResolution(Resolution resolution)
Sets the Resolver attribute of the RunData object |
void |
setResponse(javax.servlet.http.HttpServletResponse r)
Sets the response attribute of the RunData object |
void |
setResultMessages(java.util.List resulttMessages)
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Sets the servletConfig attribute of the RunData object |
void |
setTarget(java.lang.String template)
Sets the target attribute of the RunData object |
Methods inherited from interface org.codehaus.plexus.summit.SummitComponent |
getContainer, lookup, lookup |
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public java.lang.String getTarget()
public void setTarget(java.lang.String template)
public boolean hasTarget()
public void setRequest(javax.servlet.http.HttpServletRequest r)
public javax.servlet.http.HttpServletRequest getRequest()
public void setResponse(javax.servlet.http.HttpServletResponse r)
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.http.HttpSession getSession()
public void setServletConfig(javax.servlet.ServletConfig servletConfig)
public javax.servlet.ServletConfig getServletConfig()
public void setMap(java.util.Map map)
public java.util.Map getMap()
public java.lang.String getContentType()
public void setContentType(java.lang.String ct)
ct
- the new content type.public RequestParameters getParameters()
public void setResolution(Resolution resolution)
public Resolution getResolution()
public java.lang.String getServerName()
public int getServerPort()
public java.lang.String getServerScheme()
public java.lang.String getScriptName()
public java.lang.String getContextPath()
public javax.servlet.ServletContext getServletContext()
public boolean hasError()
public void setError(java.lang.Throwable error)
public java.lang.Throwable getError()
public boolean hasResultMessages()
public void setResultMessages(java.util.List resulttMessages)
public java.util.List getResultMessages()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |