org.apache.jetspeed.request
Interface RequestDiagnostics
- All Superinterfaces:
- java.io.Serializable
public interface RequestDiagnostics
- extends java.io.Serializable
Base Portal Request Diagnostics view to be provided to a pluggable DiagnosticsServlet/JSP
to handle a Portal Request error.
Because this RequestDiagnostics view might get stored (temporarily) in the session and the
DiagnosticsServlet might get redirected too, this view captures most common and important
request state as Serializable data.
In addition, there is also an auxillary attributes Map which can be used to add additional
data to be passed on to the DiagnosticsServlet without immediate need to extend this interface,
although that's possible too of course.
- Version:
- $Id: RequestDiagnostics.java 772479 2009-05-07 00:43:28Z ate $
getId
java.lang.String getId()
getTimeRecorded
java.lang.String getTimeRecorded()
getThread
java.lang.String getThread()
isInternal
boolean isInternal()
setInternal
void setInternal(boolean internal)
getServer
java.lang.String getServer()
setServer
void setServer(java.lang.String value)
getRemoteAddr
java.lang.String getRemoteAddr()
setRemoteAddr
void setRemoteAddr(java.lang.String value)
getLocalAddr
java.lang.String getLocalAddr()
setLocalAddr
void setLocalAddr(java.lang.String value)
getContextPath
java.lang.String getContextPath()
setContextPath
void setContextPath(java.lang.String value)
getServletPath
java.lang.String getServletPath()
setServletPath
void setServletPath(java.lang.String value)
getPathInfo
java.lang.String getPathInfo()
setPathInfo
void setPathInfo(java.lang.String value)
getQueryString
java.lang.String getQueryString()
setQueryString
void setQueryString(java.lang.String value)
getRequestURI
java.lang.String getRequestURI()
setRequestURI
void setRequestURI(java.lang.String value)
getRequestMethod
java.lang.String getRequestMethod()
setRequestMethod
void setRequestMethod(java.lang.String value)
getPagePath
java.lang.String getPagePath()
setPagePath
void setPagePath(java.lang.String value)
getPageId
java.lang.String getPageId()
setPageId
void setPageId(java.lang.String value)
getPath
java.lang.String getPath()
getPortalURLType
PortalURL.URLType getPortalURLType()
setPortalURLType
void setPortalURLType(PortalURL.URLType value)
getPortletApplicationName
java.lang.String getPortletApplicationName()
setPortletApplicationName
void setPortletApplicationName(java.lang.String value)
getPortletName
java.lang.String getPortletName()
setPortletName
void setPortletName(java.lang.String value)
getPortletWindowId
java.lang.String getPortletWindowId()
setPortletWindowId
void setPortletWindowId(java.lang.String value)
getUserPrincipalName
java.lang.String getUserPrincipalName()
setUserPrincipalName
void setUserPrincipalName(java.lang.String value)
getException
java.lang.Throwable getException()
setException
void setException(java.lang.Throwable value)
getCause
java.lang.Throwable getCause()
setCause
void setCause(java.lang.Throwable value)
getErrorMessage
java.lang.String getErrorMessage()
setErrorMessage
void setErrorMessage(java.lang.String value)
getErrorDescription
java.lang.String getErrorDescription()
setErrorDescription
void setErrorDescription(java.lang.String value)
isAttributesEmpty
boolean isAttributesEmpty()
getAttributes
java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
logAsInfo
void logAsInfo()
logAsWarning
void logAsWarning()
logAsError
void logAsError()
logAsTrace
void logAsTrace()
logAsDebug
void logAsDebug()
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.