|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResolvedUrlAccessFactory
The ResolvedUrlAccessFactory
provides means to create
EngineURL
objects based on alias names to
predefined URLs.
The alias names need to be stored under the JNDI root context
portal/url/template
.
Field Summary | |
---|---|
static java.lang.String |
JNDI_ROOT_CONTEXT
define the context root for the JNDI lookup |
Method Summary | |
---|---|
EngineURL |
newURL(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String aliasName,
Constants.Merge mergeType)
This method takes the provided request and fills the state holder based on the state associated with this request. |
EngineURL |
newURL(javax.servlet.http.HttpServletRequest req,
java.lang.String aliasName,
Constants.Merge mergeType)
Deprecated. This method takes the provided request and fills the state holder based on the state associated with this request. Then the state that is provided via the alias name is retrieved and merged into the state of the current request. |
Methods inherited from interface com.ibm.portal.state.accessors.AccessorFactory |
---|
compact |
Field Detail |
---|
static final java.lang.String JNDI_ROOT_CONTEXT
Method Detail |
---|
EngineURL newURL(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, java.lang.String aliasName, Constants.Merge mergeType) throws AliasNameNotFoundException, InputMediatorException, StateNotInRequestException, DocumentModelException, java.io.IOException
req
- servlet request to retrieve server, portal and context information fromresp
- servlet response, required to perform encodeURLaliasName
- alias name for retriving the statemergeType
- defines the algorithm to use for the merging
AliasNameNotFoundException
- - if the aliasName cannot be resolved
InputMediatorException
- - if the state could not be decoded
StateNotInRequestException
- - if the base could not be found in the request
DocumentModelException
- - if the state handling went wrong
java.io.IOException
- - if an error occurred during state transferEngineURL newURL(javax.servlet.http.HttpServletRequest req, java.lang.String aliasName, Constants.Merge mergeType) throws AliasNameNotFoundException, InputMediatorException, StateNotInRequestException, DocumentModelException, java.io.IOException
req
- servlet request to retrieve server, portal and context information fromaliasName
- alias name for retriving the statemergeType
- defines the algorithm to use for the merging
AliasNameNotFoundException
- - if the aliasName cannot be resolved
InputMediatorException
- - if the state could not be decoded
StateNotInRequestException
- - if the base could not be found in the request
DocumentModelException
- - if the state handling went wrong
java.io.IOException
- - if an error occurred during state transfer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |