|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebRequest
Field Summary | |
---|---|
static java.lang.String |
REQUEST_NAME
This String is the attribute name of this request object on the applications request scope |
Method Summary | |
---|---|
void |
exit(int exitCode)
This function is called from the EmpireStrutsDispatcher when a request ends if an action was accociated with the request and the action implements the Disposible interface then the exit code returned by Disposible.dispose() is passed with the exitCode parameter You might use the exitCode e.g. to commit or rollback a transaction on the JDBC-Connection |
javax.servlet.http.HttpServletRequest |
getHttpRequest()
returns the current HttpRequestObject |
javax.servlet.http.HttpServletResponse |
getHttpResponse()
returns the current HttpResponseObject |
boolean |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object session)
Initializes the request object This method is called from the EmpiretrutsDispatcher |
Field Detail |
---|
static final java.lang.String REQUEST_NAME
Method Detail |
---|
boolean init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object session)
request
- the HttpServletRequestresponse
- the HttpServletResponsesession
- the sessionObject
javax.servlet.http.HttpServletRequest getHttpRequest()
javax.servlet.http.HttpServletResponse getHttpResponse()
void exit(int exitCode)
exitCode
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |