|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.portal.provider.v1.http.ServletProviderRequest
| Constructor Summary | |
ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Constructs ServletProviderRequest. |
|
ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long startTime)
This version of the constructor includes the time at which the incoming request started being processed. |
|
ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long startTime,
PerformanceLogger logger)
This version of the constructor includes the a performance logger object which may be used to record performance stats. |
|
| Method Summary | |
DeviceInfo |
getDeviceInfo()
|
PerformanceLogger |
getPerformanceLogger()
Returns the performance logger object for this request |
PortalConfig |
getPortalConfig()
|
long |
getPortletKillTimeout()
Returns the maximum time that a portlet may take to execute, after which it should be forcefully terminated. |
long |
getPortletStartTime()
Returns the time at which the request started. |
long |
getPortletTimeout()
Returns the maximum time that the portlet should take to be rendered. |
boolean |
hasPortletKillTimeoutElapsed()
Indicates whether this request has exceeded its 'kill time', i.e, the time after which the thread should be forcefully stopped. |
boolean |
hasPortletTimeoutElapsed()
Indicates whether this request has exceeded an execution timeout. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
ServletProviderRequest.sc - configuration object from which initialisation parameters are
extractedrequest - incoming request object from which the request parameters
extractedresponse - the response object to which content will be written
public ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long startTime)
throws javax.servlet.ServletException,
java.io.IOException
sc - configuration object from which initialisation parameters are
extractedrequest - incoming request object from which the request parameters
are extractedresponse - the response object to which content will be writtenstartTime - time at which the incoming request started being
processed.
public ServletProviderRequest(javax.servlet.ServletConfig sc,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
long startTime,
PerformanceLogger logger)
throws javax.servlet.ServletException,
java.io.IOException
sc - configuration object from which initialisation parameters are
extractedrequest - incoming request object from which the request parameters
are extractedresponse - the response object to which content will be writtenstartTime - time at which the incoming request started being
processed.| Method Detail |
public long getPortletStartTime()
public long getPortletTimeout()
public boolean hasPortletTimeoutElapsed()
public long getPortletKillTimeout()
public boolean hasPortletKillTimeoutElapsed()
public PerformanceLogger getPerformanceLogger()
PerformanceLogger for this
request.public DeviceInfo getDeviceInfo()
public PortalConfig getPortalConfig()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||