|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.summit.AbstractSummitComponent
org.codehaus.plexus.summit.rundata.AbstractRunData
The base class from which all RunData implementations are derived.
Field Summary | |
private java.lang.String |
contentType
Content type. |
private java.lang.Throwable |
error
|
private java.util.Map |
map
General storage. |
private RequestParameterParser |
parameterParser
The RequestParameterParser used to parse the request |
private RequestParameters |
parameters
Request parameters. |
private javax.servlet.http.HttpServletRequest |
request
Servlet Request. |
private Resolution |
resolution
Resolution produced by Resolver. |
private javax.servlet.http.HttpServletResponse |
response
Servlet Respsonse. |
private java.util.List |
resultMessages
|
private javax.servlet.ServletConfig |
servletConfig
Servlet Config. |
private java.lang.String |
target
Target view. |
Fields inherited from class org.codehaus.plexus.summit.AbstractSummitComponent |
|
Fields inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
|
Fields inherited from interface org.codehaus.plexus.summit.rundata.RunData |
ROLE |
Constructor Summary | |
AbstractRunData()
|
Method Summary | |
void |
dispose()
|
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.lang.String |
getLink(java.lang.String path)
Create a static link to resources in the webapp space. |
java.util.Map |
getMap()
Gets the map attribute of the AbstractRunData object |
RequestParameters |
getParameters()
Gets the request parameters. |
javax.servlet.http.HttpServletRequest |
getRequest()
Gets the request attribute of the AbstractRunData object |
Resolution |
getResolution()
Gets the Resolver attribute of the AbstractRunData object |
javax.servlet.http.HttpServletResponse |
getResponse()
Gets the response attribute of the AbstractRunData 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 AbstractRunData object |
javax.servlet.ServletContext |
getServletContext()
Get the servlet context for this turbine webapp. |
javax.servlet.http.HttpSession |
getSession()
Gets the session attribute of the AbstractRunData object |
java.lang.String |
getTarget()
Gets the target attribute of the AbstractRunData object |
boolean |
hasError()
Determine whether an error has occured during request processing |
boolean |
hasResultMessages()
|
boolean |
hasTarget()
Description of the Method |
void |
initialize()
|
void |
setContentType(java.lang.String contentType)
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 AbstractRunData object |
void |
setRequest(javax.servlet.http.HttpServletRequest request)
Sets the request attribute of the AbstractRunData object |
void |
setResolution(Resolution resolution)
Sets the Resolver attribute of the AbstractRunData object |
void |
setResponse(javax.servlet.http.HttpServletResponse response)
Sets the response attribute of the AbstractRunData object |
void |
setResultMessages(java.util.List resultMessages)
|
void |
setServletConfig(javax.servlet.ServletConfig servletConfig)
Sets the servletConfig attribute of the AbstractRunData object |
void |
setTarget(java.lang.String target)
Sets the target attribute of the AbstractRunData object |
Methods inherited from class org.codehaus.plexus.summit.AbstractSummitComponent |
contextualize, getContainer, lookup, lookup |
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.plexus.summit.SummitComponent |
getContainer, lookup, lookup |
Field Detail |
private java.lang.String target
private javax.servlet.http.HttpServletRequest request
private javax.servlet.http.HttpServletResponse response
private javax.servlet.ServletConfig servletConfig
private java.lang.String contentType
private java.util.Map map
private Resolution resolution
private RequestParameters parameters
private RequestParameterParser parameterParser
private java.lang.Throwable error
private java.util.List resultMessages
Constructor Detail |
public AbstractRunData()
Method Detail |
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public void dispose()
dispose
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
public java.lang.String getTarget()
getTarget
in interface RunData
public void setTarget(java.lang.String target)
setTarget
in interface RunData
public boolean hasTarget()
hasTarget
in interface RunData
public void setRequest(javax.servlet.http.HttpServletRequest request)
setRequest
in interface RunData
public javax.servlet.http.HttpServletRequest getRequest()
getRequest
in interface RunData
public void setResponse(javax.servlet.http.HttpServletResponse response)
setResponse
in interface RunData
public javax.servlet.http.HttpServletResponse getResponse()
getResponse
in interface RunData
public javax.servlet.http.HttpSession getSession()
getSession
in interface RunData
public void setServletConfig(javax.servlet.ServletConfig servletConfig)
setServletConfig
in interface RunData
public javax.servlet.ServletConfig getServletConfig()
getServletConfig
in interface RunData
public void setMap(java.util.Map map)
setMap
in interface RunData
public java.util.Map getMap()
getMap
in interface RunData
public void setContentType(java.lang.String contentType)
setContentType
in interface RunData
contentType
- the new content type.public java.lang.String getContentType()
getContentType
in interface RunData
public RequestParameters getParameters()
getParameters
in interface RunData
public void setResolution(Resolution resolution)
setResolution
in interface RunData
public Resolution getResolution()
getResolution
in interface RunData
public java.lang.String getLink(java.lang.String path)
path
- Path to the static resource in the webapp space.
public java.lang.String getContextPath()
RunData
getContextPath
in interface RunData
RunData.getContextPath()
public java.lang.String getScriptName()
RunData
getScriptName
in interface RunData
RunData.getScriptName()
public java.lang.String getServerName()
RunData
getServerName
in interface RunData
RunData.getServerName()
public int getServerPort()
RunData
getServerPort
in interface RunData
RunData.getServerPort()
public java.lang.String getServerScheme()
RunData
getServerScheme
in interface RunData
RunData.getServerScheme()
public javax.servlet.ServletContext getServletContext()
RunData
getServletContext
in interface RunData
RunData.getServletContext()
public boolean hasError()
RunData
hasError
in interface RunData
public java.lang.Throwable getError()
RunData
getError
in interface RunData
public void setError(java.lang.Throwable error)
RunData
setError
in interface RunData
public boolean hasResultMessages()
hasResultMessages
in interface RunData
public java.util.List getResultMessages()
getResultMessages
in interface RunData
public void setResultMessages(java.util.List resultMessages)
setResultMessages
in interface RunData
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |