|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Definition
This class is a data object which contains all of the data required to create a URI for a Content Server system. The definition cntains the Content Server app type for which the URI is being constructed, as well as all of the parameters for that app. Further, it contains information about the Satellite Server context (i.e. whether or not the URI generated should direct users to Satellite Server or directly to Content Server), the container in which Content Server is running (i.e. Server, Portlet) and a variety of other information pertinent to Content Server URIs. This Definition object will be converted into a String URI using the Assembler interface and one of the assemblers registered for the corresponding container type.
Nested Class Summary | |
---|---|
static class |
Definition.AppType
This object defines the Content Server app type for which the URI should be constructed. |
static class |
Definition.ContainerType
This object defines the containers for which a URI can be defined. |
static class |
Definition.SatelliteContext
Class to define the satellite context of the URI. |
Field Summary | |
---|---|
static java.lang.String |
LOG_NAME
Logger name, for use with Jakarta Commons Logging. |
Method Summary | |
---|---|
Definition.AppType |
getAppType()
Returns the app type for which this URI is to be generated. |
java.lang.String |
getAuthority()
Returns the authority for this URI. |
Definition.ContainerType |
getContainerType()
Returns the container type for which this URI is to be generated. |
java.lang.String |
getFragment()
Returns a fragment identifier for this URI. |
java.lang.String |
getParameter(java.lang.String name)
Return a single parameter with the given name. |
java.util.Collection |
getParameterNames()
Returns the names of all the parameters. |
java.lang.String[] |
getParameters(java.lang.String name)
Returns an array of parameters with the given name. |
Definition.SatelliteContext |
getSatelliteContext()
Returns an object describing whether the URI should be set to render a Satellite Server URL or a Content Server URL. |
java.lang.String |
getScheme()
Returns the scheme for this URI. |
boolean |
sessionEncode()
Returns true if this URI should be session-encoded by the container. |
Field Detail |
---|
static final java.lang.String LOG_NAME
Log
,
Constant Field ValuesMethod Detail |
---|
java.lang.String getScheme()
http
and https
.
URI.getScheme()
java.lang.String getAuthority()
localhost:7001
. Note
that port is optional. As a result, another legal value would include
localhost
.
URI.getAuthority()
Definition.ContainerType getContainerType()
Definition.ContainerType.DEFAULT
which allows the
current container to be used, however when switching container types
is important, this method should return a different value. An example
might be a popup window in a portlet.
ContainerType}
Definition.AppType getAppType()
@link{AppType}
java.lang.String getParameter(java.lang.String name)
name
- parameter name
java.lang.String[] getParameters(java.lang.String name)
name
- parameter name
java.util.Collection getParameterNames()
java.lang.String getFragment()
boolean sessionEncode()
Definition.SatelliteContext getSatelliteContext()
SatelliteContext}
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |