Package | Description |
---|---|
com.endeca.infront.navigation.url |
Contains URL-based implementations of the interfaces in
com.endeca.infront.navigation for making requests to an MDEX server. |
com.endeca.soleng.urlformatter |
The core of the URL Optimization API containing the fundamental components
required for URL manipulation and generation - including the primary
UrlState class and its related UrlFormatter and
QueryBuilder interfaces. |
com.endeca.soleng.urlformatter.basic |
Contains the
BasicUrlFormatter and BasicQueryBuilder
classes. |
com.endeca.soleng.urlformatter.seo |
Contains the
SeoUrlFormatter and its associated classes
for configuring and tuning the behavior of this SEO-friendly implementation
of the core UrlFormatter interface. |
Modifier and Type | Method and Description |
---|---|
UrlState |
UrlNavigationStateBuilder.buildUrlState(NavigationState navigationState) |
UrlState |
UrlNavigationStateBuilder.buildUrlState(RecordState recordState) |
Modifier and Type | Method and Description |
---|---|
protected void |
UrlNavigationStateBuilder.addAutoPhraseEnabled(NavigationState navigationState,
UrlState urlState)
Updates the UrlState, adding the autophraseParam
if the current value of
FilterState.isAutoPhraseEnabled()
is different from the
defaultFilterState. |
protected void |
UrlNavigationStateBuilder.addEqlFilter(NavigationState navigationState,
UrlState urlState)
Updates the UrlState, adding the eqlparam
if the current value of
FilterState.getEqlFilter()
is different from the defaultFilterState. |
protected void |
UrlNavigationStateBuilder.addFeaturedRecords(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding featured records from
the given NavigationState.
|
protected void |
UrlNavigationStateBuilder.addGeoFilter(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding a geo filter from the
given NavigationState.
|
protected void |
UrlNavigationStateBuilder.addLanguageId(NavigationState navigationState,
UrlState urlState)
Updates the UrlState, adding the languageParam if the
current value of
FilterState.getLanguageId() is different from the
defaultFilterState. |
protected void |
UrlNavigationStateBuilder.addNavigationFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding navigation filters
from the NavigationState.
|
protected void |
UrlNavigationStateBuilder.addParameters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding URL parameters
from the given NavigationState.
|
protected void |
UrlNavigationStateBuilder.addParameters(RecordState recordState,
UrlState urlState)
Updates the UrlState by adding URL parameters from the
given RecordState
|
protected void |
UrlNavigationStateBuilder.addRangeFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding range filters from the
given NavigationState.
|
protected void |
UrlNavigationStateBuilder.addRecordFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding record filters from the
given NavigationState
|
protected void |
UrlNavigationStateBuilder.addRecordSpec(RecordState recordState,
UrlState urlState)
Updates the UrlState by adding the record spec from
the given RecordState.
|
protected void |
UrlNavigationStateBuilder.addSearchFilters(NavigationState navigationState,
UrlState urlState)
Updates the UrlState by adding search filters from the
given NavigationState.
|
protected List<String> |
UrlNavigationStateBuilder.parseFeaturedRecords(UrlState urlState)
Parses a List of featured records from the given
UrlState.
|
protected FilterState |
UrlNavigationStateBuilder.parseFilterState(UrlState urlState)
Creates a new FilterState (or a clone of the
FilterState specified by
UrlNavigationStateBuilder.getDefaultFilterState() )
and parses the filter state parameters on the given UrlState
onto it. |
protected GeoFilter |
UrlNavigationStateBuilder.parseGeoFilter(UrlState urlState)
Parses a
GeoFilter off of the UrlState. |
protected List<String> |
UrlNavigationStateBuilder.parseNavigationFilters(UrlState urlState)
Parses a List of navigation filters (dimension value IDs) off of the
UrlState.
|
protected Map<String,String> |
UrlNavigationStateBuilder.parseParameters(UrlState urlState)
Parses parameters from the
UrlState and returns them
as a map. |
protected List<RangeFilter> |
UrlNavigationStateBuilder.parseRangeFilters(UrlState urlState)
Parses a List of
RangeFilter off of the
UrlState. |
protected List<String> |
UrlNavigationStateBuilder.parseRecordFilters(UrlState urlState)
Returns a List of record filters parsed from the
UrlState.
|
protected String |
UrlNavigationStateBuilder.parseRecordSpec(UrlState urlState)
Parses a record spec String off of the UrlState.
|
protected List<SearchFilter> |
UrlNavigationStateBuilder.parseSearchFilters(UrlState urlState)
Parses a List of
SearchFilter objects
off of the UrlState. |
Modifier and Type | Method and Description |
---|---|
UrlState |
UrlFormatter.parseRequest(javax.servlet.http.HttpServletRequest pRequest)
Parses the specified request into an
UrlState . |
UrlState |
UrlFormatter.parseRequest(String pQueryString,
String pPathInfo,
String pCharacterEncoding) |
UrlState |
UrlState.removeDescriptor(com.endeca.navigation.DimVal pDescriptor,
boolean pClone)
Removes the specifed descriptor
DimVal from the current
navigation state. |
UrlState |
UrlState.selectAncestor(com.endeca.navigation.DimVal pAncestor,
com.endeca.navigation.DimVal pDescriptor,
boolean pClone)
Selects an ancestor
DimVal for the specified descriptor
DimVal . |
UrlState |
UrlState.selectRefinement(com.endeca.navigation.Dimension pRefinementDimension,
com.endeca.navigation.DimVal pRefinement,
boolean pClone)
Selects a navigation refinement
DimVal from the specified
refinement Dimension . |
UrlState |
UrlState.selectRefinement(com.endeca.navigation.DimLocation pRefinement,
boolean pClone)
Selects a navigation refinement using a
DimLocation object. |
Modifier and Type | Method and Description |
---|---|
com.endeca.navigation.ENEQuery |
QueryBuilder.buildQuery(UrlState pUrlState)
Marshals the specified
UrlState into an ENEQuery . |
AggrERecUrlParam |
UrlFormatter.createAggrERecUrlParam(UrlState pUrlState,
com.endeca.navigation.AggrERec pAggrERec)
Creates an URL parameter containing an
AggrERec . |
ERecUrlParam |
UrlFormatter.createERecUrlParam(UrlState pUrlState,
com.endeca.navigation.ERec pERec)
Creates an URL parameter containing an
ERec . |
NavStateUrlParam |
UrlFormatter.createNavStateUrlParam(UrlState pUrlState)
Creates an URL parameter containing an empty
NavState . |
UrlParam |
UrlFormatter.createUrlParam(UrlState pUrlState,
String pKey,
String pValue)
Creates an URL parameter for the specified
UrlState . |
String |
UrlFormatter.formatCanonicalUrl(UrlState pUrlState)
Formats a canonical url.
|
String |
UrlFormatter.formatUrl(UrlState pUrlState)
Formats the specified
UrlState into an URL string. |
Modifier and Type | Method and Description |
---|---|
UrlState |
BasicUrlFormatter.parseRequest(javax.servlet.http.HttpServletRequest pRequest) |
UrlState |
BasicUrlFormatter.parseRequest(String pQueryString,
String pCharacterEncoding) |
UrlState |
BasicUrlFormatter.parseRequest(String pQueryString,
String pPathInfo,
String pCharacterEncoding) |
Modifier and Type | Method and Description |
---|---|
abstract void |
BasicQueryBuilder.ParamBinding.bind(UrlParam pUrlParam,
UrlState pUrlState,
com.endeca.navigation.UrlENEQuery pUrlENEQuery) |
com.endeca.navigation.ENEQuery |
BasicQueryBuilder.buildQuery(UrlState pUrlState) |
AggrERecUrlParam |
BasicUrlFormatter.createAggrERecUrlParam(UrlState pUrlState,
com.endeca.navigation.AggrERec pAggrERec) |
ERecUrlParam |
BasicUrlFormatter.createERecUrlParam(UrlState pUrlState,
com.endeca.navigation.ERec pERec) |
NavStateUrlParam |
BasicUrlFormatter.createNavStateUrlParam(UrlState pUrlState) |
UrlParam |
BasicUrlFormatter.createUrlParam(UrlState pUrlState,
String pKey,
String pValue) |
String |
BasicUrlFormatter.formatCanonicalUrl(UrlState pUrlState) |
String |
BasicUrlFormatter.formatUrl(UrlState pUrlState) |
Modifier and Type | Method and Description |
---|---|
UrlState |
SeoUrlFormatter.parseRequest(javax.servlet.http.HttpServletRequest pRequest) |
UrlState |
SeoUrlFormatter.parseRequest(String pQueryString,
String pPathInfo,
String pCharacterEncoding) |
Modifier and Type | Method and Description |
---|---|
AggrERecUrlParam |
SeoUrlFormatter.createAggrERecUrlParam(UrlState pUrlState,
com.endeca.navigation.AggrERec pAggrERec) |
ERecUrlParam |
SeoUrlFormatter.createERecUrlParam(UrlState pUrlState,
com.endeca.navigation.ERec pERec) |
NavStateUrlParam |
SeoUrlFormatter.createNavStateUrlParam(UrlState pUrlState) |
UrlParam |
SeoUrlFormatter.createUrlParam(UrlState pUrlState,
String pKey,
String pValue) |
String |
UrlParamEncoder.decodeValue(UrlState pUrlState,
String pValue) |
String |
SeoNavStateEncoder.decodeValue(UrlState pUrlState,
String pValue) |
String |
UrlParamEncoder.encodeValue(UrlState pUrlState,
UrlParam pUrlParam) |
String |
SeoNavStateEncoder.encodeValue(UrlState pUrlState,
UrlParam pUrlParam) |
String |
UrlEncodedStringFormatter.format(UrlState pUrlState,
String pString) |
String |
UpperCaseStringFormatter.format(UrlState pUrlState,
String pString) |
String |
StringFormatterChain.format(UrlState pUrlState,
String pString) |
String |
StringFormatter.format(UrlState pUrlState,
String pString) |
String |
RegexStringFormatter.format(UrlState pUrlState,
String pString) |
String |
LowerCaseStringFormatter.format(UrlState pUrlState,
String pString) |
protected String |
SeoUrlFormatter.formatAggrERec(UrlState pUrlState) |
String |
SeoAggrERecFormatter.formatAggrERec(UrlState pUrlState,
com.endeca.navigation.AggrERec pAggrERec) |
String |
AggrERecFormatter.formatAggrERec(UrlState pUrlState,
com.endeca.navigation.AggrERec pAggrERec) |
String |
SeoUrlFormatter.formatCanonicalUrl(UrlState pUrlState) |
String |
SeoDimLocationFormatter.formatDimLocation(UrlState pUrlState,
com.endeca.navigation.DimLocation pDimLocation) |
String |
DimLocationFormatter.formatDimLocation(UrlState pUrlState,
com.endeca.navigation.DimLocation pDimLocation)
Formats the specified
DimLocation for the specified
UrlState . |
protected String |
SeoUrlFormatter.formatERec(UrlState pUrlState) |
String |
SeoERecFormatter.formatERec(UrlState pUrlState,
com.endeca.navigation.ERec pERec) |
String |
ERecFormatter.formatERec(UrlState pUrlState,
com.endeca.navigation.ERec pERec) |
protected String |
SeoUrlFormatter.formatNavState(UrlState pUrlState) |
String |
SeoNavStateFormatter.formatNavState(UrlState pUrlState,
com.endeca.navigation.DimLocationList pNavState) |
String |
NavStateFormatter.formatNavState(UrlState pUrlState,
com.endeca.navigation.DimLocationList pNavState) |
protected String |
SeoUrlFormatter.formatPathKeywords(UrlState pUrlState) |
protected String |
SeoUrlFormatter.formatPathParams(UrlState pUrlState) |
protected String |
SeoUrlFormatter.formatQueryString(UrlState pUrlState) |
String |
SeoUrlFormatter.formatUrl(UrlState pUrlState) |
protected void |
SeoUrlFormatter.parsePathInfo(UrlState pUrlState,
String pPathInfo) |
protected void |
SeoUrlFormatter.parseQueryString(UrlState pUrlState,
String pQueryString) |
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.