|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RunData
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 |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.lang.String getTarget()
void setTarget(java.lang.String template)
boolean hasTarget()
void setRequest(javax.servlet.http.HttpServletRequest r)
javax.servlet.http.HttpServletRequest getRequest()
void setResponse(javax.servlet.http.HttpServletResponse r)
javax.servlet.http.HttpServletResponse getResponse()
javax.servlet.http.HttpSession getSession()
void setServletConfig(javax.servlet.ServletConfig servletConfig)
javax.servlet.ServletConfig getServletConfig()
void setMap(java.util.Map map)
java.util.Map getMap()
java.lang.String getContentType()
void setContentType(java.lang.String ct)
ct - the new content type.RequestParameters getParameters()
void setResolution(Resolution resolution)
Resolution getResolution()
java.lang.String getServerName()
int getServerPort()
java.lang.String getServerScheme()
java.lang.String getScriptName()
java.lang.String getContextPath()
javax.servlet.ServletContext getServletContext()
boolean hasError()
void setError(java.lang.Throwable error)
java.lang.Throwable getError()
boolean hasResultMessages()
void setResultMessages(java.util.List resulttMessages)
java.util.List getResultMessages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||