ILayerListener
Listener interface for HTTP request processing. The start method
is called for all registered listeners by the aggregator
at the start of request processing.
Listeners are registered as an OSGi service using the name of the aggregator as the name attribute of the listener object.
@Deprecated public interface IRequestListener
Modifier and Type | Method and Description |
---|---|
void |
endRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Called when processing of a request completes normally.
|
void |
startRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
Called by the aggregator at the start of request processing.
|
void startRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
IHttpTransport
.
This method is called by the main request processing thread, so the request object can be updated without worrying about threading issues.
request
- the request objectresponse
- the response objectvoid endRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
This method is not guaranteed to be called following a call to
startRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
if, for example, an exception is thrown while
processing the request.
request
- the request objectresponse
- the response objectCopyright © 2011-2015 IBM. All Rights Reserved.