public interface RequestDiagnostics extends Serializable
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.
String getId()
String getTimeRecorded()
String getThread()
boolean isInternal()
void setInternal(boolean internal)
String getServer()
void setServer(String value)
String getRemoteAddr()
void setRemoteAddr(String value)
String getLocalAddr()
void setLocalAddr(String value)
String getContextPath()
void setContextPath(String value)
String getServletPath()
void setServletPath(String value)
String getPathInfo()
void setPathInfo(String value)
String getQueryString()
void setQueryString(String value)
String getRequestURI()
void setRequestURI(String value)
String getRequestMethod()
void setRequestMethod(String value)
String getPagePath()
void setPagePath(String value)
String getPageId()
void setPageId(String value)
String getPath()
PortalURL.URLType getPortalURLType()
void setPortalURLType(PortalURL.URLType value)
String getPortletApplicationName()
void setPortletApplicationName(String value)
String getPortletName()
void setPortletName(String value)
String getPortletWindowId()
void setPortletWindowId(String value)
String getUserPrincipalName()
void setUserPrincipalName(String value)
Throwable getException()
void setException(Throwable value)
Throwable getCause()
void setCause(Throwable value)
String getErrorMessage()
void setErrorMessage(String value)
String getErrorDescription()
void setErrorDescription(String value)
boolean isAttributesEmpty()
Map<String,Serializable> getAttributes()
void logAsInfo()
void logAsWarning()
void logAsError()
void logAsTrace()
void logAsDebug()
Copyright © 1999–2016 The Apache Software Foundation. All rights reserved.