Package org.opencms.main
Class OpenCmsServlet.RequestInfo
- java.lang.Object
-
- org.opencms.main.OpenCmsServlet.RequestInfo
-
- Enclosing class:
- OpenCmsServlet
public static class OpenCmsServlet.RequestInfo extends java.lang.Object
Debugging information about currently running requests.
-
-
Constructor Summary
Constructors Constructor Description RequestInfo(java.lang.String uri, long startTime)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getStartTime()
Gets the request start time.long
getThreadId()
Gets the thread idjava.lang.String
getUri()
Gets the URI of the request.
-
-
-
Constructor Detail
-
RequestInfo
public RequestInfo(java.lang.String uri, long startTime)
Creates a new instance.- Parameters:
uri
- the URIstartTime
- the start time
-
-
Method Detail
-
getStartTime
public long getStartTime()
Gets the request start time.- Returns:
- the start time
-
getThreadId
public long getThreadId()
Gets the thread id- Returns:
- the thread id
-
getUri
public java.lang.String getUri()
Gets the URI of the request.- Returns:
- the URI of the request
-
-