public interface CommandListener
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed just before the forwards returns.
|
void |
beforeCommand(TestSession session,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Executed before the hub forwards the request.
|
void beforeCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Throwing an exception will prevent the forward to the remote.
session - sessionrequest - requestresponse - responsevoid afterCommand(TestSession session, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Throwing an exception will result in an error for the client.
session - sessionrequest - requestresponse - responseCopyright © 2016. All rights reserved.