|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface that gets passed into ThinBeanUI's handleEvent() method
Method Summary | |
java.lang.String |
getApplicationQueryParameter(java.lang.String name) Returns an application query parameter value from the current request's URL. |
java.lang.String[] |
getApplicationQueryParameterValues(java.lang.String name) Returns an application query parameter's values from the current request's URL. |
java.lang.Object |
getAttributeValue(java.lang.String name) Retrieve an attribute by name. |
java.lang.String |
getCharacterEncoding() Retrieve the character encoding. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest() Retrieve the current HttpServletRequest. |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse() Retrieve the current HttpServletResponse |
java.lang.String |
getQueryParameter(java.lang.String name) Returns a query parameter value from the current request's URL. |
java.lang.String[] |
getQueryParameterValues(java.lang.String name) Returns a query parameter's values from the current request's URL. |
Method Detail |
public java.lang.String getQueryParameter(java.lang.String name)
Returns a query parameter value from the current request's URL. If the implementation of QueryParameterProvider has an HTTPServletRequest, then the query parameters can be fetched from the request using the getQueryParameter() method on the HTTPServletRequest.
It is the responsibility of the QueryParameterProvider to "encode"/transform the query parameter name using UIX Share's oracle.cabo.share.url.URLEncoder
class before trying to fetch the query parameter from the HTTPServletRequest. The URLEncoder
is used to isolate ThinBeanUI event parameter names from application query parameter names.
Note : Applications should use the getApplicationQueryParameter() method to retrieve application query parameters that were added to events via hidden form fields or EventTarget
s. This is due to the fact that application query parameters do not have their names encoded using a URLEncoder.
It is also the responsibility of the QueryParameterProvider to decode all query parameter values using the correct character set encoding. We recommend using the static oracle.cabo.share.util.CaboHttpUtils.decodeRequestParameter() method provided by to decode values.
name
- the query parameter namepublic java.lang.String[] getQueryParameterValues(java.lang.String name)
Returns a query parameter's values from the current request's URL. If the implementation of QueryParameterProvider has an HTTPServletRequest, then the query parameters can be fetched from the request using the getQueryParameterValues() method on the HTTPServletRequest.
It is the responsibility of the QueryParameterProvider to "encode"/transform the query parameter name using UIX Share's oracle.cabo.share.url.URLEncoder
class before trying to fetch the query parameter from the HTTPServletRequest. The URLEncoder
is used to isolate ThinBeanUI event parameter names from application query parameter names.
Note : Applications should use the getApplicationQueryParameter() method to retrieve application query parameters that were added to events via hidden form fields or EventTarget
s. This is due to the fact that application query parameters do not have their names encoded using a URLEncoder.
It is also the responsibility of the QueryParameterProvider to decode all query parameter values using the correct character set encoding. We recommend using the static oracle.cabo.share.util.CaboHttpUtils.decodeRequestParameter() method provided by to decode values.
name
- the query parameter namepublic java.lang.String getApplicationQueryParameter(java.lang.String name)
Returns an application query parameter value from the current request's URL. If the implementation of QueryParameterProvider has an HTTPServletRequest, then the query parameters can be fetched from the request using the getQueryParameter() method on the HTTPServletRequest.
Note : Applications should use this method to retrieve application query parameters that were added to events via hidden form fields or EventTarget
s.
It is also the responsibility of the QueryParameterProvider to decode all query parameter values using the correct character set encoding. We recommend using the static oracle.cabo.share.util.CaboHttpUtils.decodeRequestParameter() method provided by to decode values.
name
- the query parameter namepublic java.lang.String[] getApplicationQueryParameterValues(java.lang.String name)
Returns an application query parameter's values from the current request's URL. If the implementation of QueryParameterProvider has an HTTPServletRequest, then the query parameters can be fetched from the request using the getQueryParameter() method on the HTTPServletRequest.
Note : Applications should use this method to retrieve application query parameters that were added to events via hidden form fields or EventTarget
s.
It is also the responsibility of the QueryParameterProvider to decode all query parameter values using the correct character set encoding. We recommend using the static oracle.cabo.share.util.CaboHttpUtils.decodeRequestParameter() method provided by to decode values.
name
- the query parameter namepublic java.lang.Object getAttributeValue(java.lang.String name)
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public javax.servlet.http.HttpServletResponse getHttpServletResponse()
public java.lang.String getCharacterEncoding()
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |