|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface providing context information about the current request, and providing access to generic UIX Controller (Baja) services.
Method Summary | |
void |
dispose()
Frees any state stored on the BajaContext. |
Agent |
getAgent()
Returns an Agent object that can be used to identify what device will be receiving the output. |
ErrorLog |
getErrorLog()
Get an interface that can be used to log errors. |
LocaleContext |
getLocaleContext()
Returns the client locale. |
PageDecoder |
getPageDecoder()
Return the decoder used to transform URLs into Pages and PageEvents. |
PageEncoder |
getPageEncoder()
Return the encoder used to transform Pages and PageEvents into URLs. |
java.lang.Object |
getProperty(java.lang.String namespace,
java.lang.Object key)
Gets a property stored on the context. |
java.lang.Object |
getService(java.lang.Class serviceClass,
java.lang.Object serviceSelector)
Returns a object registered on the context. |
javax.servlet.http.HttpServletRequest |
getServletRequest()
Returns the servlet request object. |
javax.servlet.http.HttpServletResponse |
getServletResponse()
Returns the servlet response object. |
StateManager |
getStateManager(boolean createIfNull)
Returns the StateManager used to create States for Pages. |
void |
setLocaleContext(LocaleContext context)
Sets the client locale. |
void |
setProperty(java.lang.String namespace,
java.lang.Object key,
java.lang.Object value)
Stores a property on the context. |
Method Detail |
public javax.servlet.http.HttpServletRequest getServletRequest()
public javax.servlet.http.HttpServletResponse getServletResponse()
public LocaleContext getLocaleContext()
public void setLocaleContext(LocaleContext context)
public ErrorLog getErrorLog()
public Agent getAgent()
public PageEncoder getPageEncoder()
public PageDecoder getPageDecoder()
public StateManager getStateManager(boolean createIfNull)
createIfNull
- if true, will create a StateManager
if one is not available or has expired.public java.lang.Object getProperty(java.lang.String namespace, java.lang.Object key)
public void setProperty(java.lang.String namespace, java.lang.Object key, java.lang.Object value)
This method supports objects that implement the Bindable interface. Any such objects will automatically have bindValue() and unbindValue() called when added to and removed from the context.
Bindable
public java.lang.Object getService(java.lang.Class serviceClass, java.lang.Object serviceSelector)
serviceClass
- a class object that the returned object
must be an instance ofserviceSelector
- a selector object, if one is neededpublic void dispose()
setProperty(java.lang.String, java.lang.Object, java.lang.Object)
,
Bindable
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |