|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vraptor.scope.DefaultLogicRequest
public class DefaultLogicRequest
Basic vraptor logic request.
| Constructor Summary | |
|---|---|
DefaultLogicRequest(RequestInfo info,
WebRequest request)
Deprecated. |
|
DefaultLogicRequest(RequestInfo info,
WebRequest request,
LogicDefinition definition)
|
|
| Method Summary | |
|---|---|
void |
confirmResult(String string)
Sets the String that will represent the logic result, like success, invalid, error and so on |
Object |
findAttribute(String key)
Looks for an attribute in any scope. |
ApplicationContext |
getApplicationContext()
Returns a wrapper for the application context |
FlashContext |
getFlashContext()
|
LogicDefinition |
getLogicDefinition()
|
javax.servlet.http.HttpServletRequest |
getRequest()
|
RequestContext |
getRequestContext()
Returns a wrapper for the request session |
RequestInfo |
getRequestInfo()
|
javax.servlet.http.HttpServletResponse |
getResponse()
|
String |
getResult()
Returns the current value set as the logic result |
javax.servlet.ServletContext |
getServletContext()
|
SessionContext |
getSessionContext()
Returns a wrapper for the user session |
void |
setLogicDefinition(LogicDefinition logicDefinition)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated
public DefaultLogicRequest(RequestInfo info,
WebRequest request)
public DefaultLogicRequest(RequestInfo info,
WebRequest request,
LogicDefinition definition)
| Method Detail |
|---|
public ApplicationContext getApplicationContext()
LogicRequest
getApplicationContext in interface LogicRequestpublic SessionContext getSessionContext()
LogicRequest
getSessionContext in interface LogicRequestpublic RequestContext getRequestContext()
LogicRequest
getRequestContext in interface LogicRequestpublic javax.servlet.http.HttpServletRequest getRequest()
getRequest in interface LogicRequestpublic javax.servlet.http.HttpServletResponse getResponse()
getResponse in interface LogicRequestpublic Object findAttribute(String key)
LogicRequest
findAttribute in interface LogicRequestkey - the key to look for
public void confirmResult(String string)
LogicRequest
confirmResult in interface LogicRequestpublic String getResult()
LogicRequest
getResult in interface LogicRequestpublic RequestInfo getRequestInfo()
getRequestInfo in interface LogicRequestpublic javax.servlet.ServletContext getServletContext()
getServletContext in interface LogicRequestpublic LogicDefinition getLogicDefinition()
getLogicDefinition in interface LogicRequestpublic void setLogicDefinition(LogicDefinition logicDefinition)
setLogicDefinition in interface LogicRequestpublic FlashContext getFlashContext()
getFlashContext in interface LogicRequest
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||