|
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 | ||||||||
java.lang.Object
|
+--oracle.cabo.share.url.ServletURLEncoder
|
+--oracle.cabo.servlet.url.BasePageEncoder
|
+--oracle.cabo.servlet.url.DefaultPageEncoder
|
+--oracle.cabo.servlet.url.ExtensionPageEncoder
PageEncoder interface that implements a page encoding scheme suitable for a servlet mapping created as an extension mapping. For example, a client may have mapped the ".uix" suffix to a UIXServlet (w/UIXPageBroker) instance:
<servlet-mapping>
<servlet-name>......</servlet-name>
<url-pattern>*.uix</url-pattern>
</servlet-mapping>
In this encoding scheme, the page name is derived from the name
of the mapped file; e.g., a request for "foo.uix" will
use the page name "foo". Page properties are encoded as a
"bajaPage" query parameter.
URLs are of the form:
http://somedomain.com:port/servletPath/pageName.suffix
?bajaPage=pageprop1=value1$pageprop2=value2
&event=eventname&eventparam1=value1&eventparam2=value2
Where:
UIXServlet) running the
servlet.
| Constructor Summary | |
ExtensionPageEncoder(BajaContext context,
java.lang.String baseURL,
java.lang.String pageExtension)
Creates an ExtensionPageEncoder. |
|
| Method Summary | |
protected java.lang.String |
assembleURL(java.lang.String baseURL,
java.lang.String pageName,
java.lang.String pageProperties,
java.lang.String parametersURL)
Assembles the four parts of a Baja URL into a full URL. |
protected java.lang.String |
decodeFullPageName()
Identifies the full page name for the current request. |
| Methods inherited from class oracle.cabo.servlet.url.DefaultPageEncoder |
decodePage, decodePage, decodeRequestedPage, encodePage, encodePageProperties |
| Methods inherited from class oracle.cabo.share.url.ServletURLEncoder |
encodeParameter, encodeURL, isURLEncodingEnabled, setURLEncodingEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface oracle.cabo.share.url.URLEncoder |
encodeParameter, encodeURL |
| Methods inherited from interface oracle.cabo.servlet.url.PageDecoder |
encodeParameter |
| Constructor Detail |
public ExtensionPageEncoder(BajaContext context,
java.lang.String baseURL,
java.lang.String pageExtension)
context - the current BajaContextbaseURL - a base URL to use in place of the servlet request.
Generally only used if BajaContext is null.pageExtension - the extension (including ".") identifying
pages to the servlet engine| Method Detail |
protected java.lang.String decodeFullPageName()
DefaultPageEncoderdecodeFullPageName in class DefaultPageEncoder
protected java.lang.String assembleURL(java.lang.String baseURL,
java.lang.String pageName,
java.lang.String pageProperties,
java.lang.String parametersURL)
BasePageEncoderassembleURL in class BasePageEncoderoracle.cabo.servlet.url.BasePageEncoderbaseURL - the base of the URL, or null to omit. This
should include the context and servlet paths.pageName - the name of the page (or null)pageProperties - the properties of the page, encoded
as a single string (or null)parametersURL - the event parameters
|
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 | ||||||||