|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.content.source.AbstractContentSource
public abstract class AbstractContentSource
Base implementation of the ContentSource interface.
Provides an emptydestroy() method and a working
implementation of resolveContent(HttpServletRequest)
which makes use of the abstract
ContentSource.resolveContent(String) method.
| Constructor Summary | |
|---|---|
AbstractContentSource()
Constructs a content source. |
|
AbstractContentSource(String defaultSiteRootPath)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
destroy()
Performs any actions needed to clean up after the content source. |
String |
getDefaultSiteRootPath()
If a valid content URI cannot be extracted from the request in the resolveContent(HttpServletRequest) method, it will
attempt to resolve the content URI using this default site root
path. |
ContentLocator |
resolveContent(javax.servlet.http.HttpServletRequest request)
Attempts to resolve content based on the given request. |
void |
setDefaultSiteRootPath(String defaultSiteRootPath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.endeca.infront.content.source.ContentSource |
|---|
resolveContent |
| Constructor Detail |
|---|
@Deprecated public AbstractContentSource(String defaultSiteRootPath)
defaultSiteRootPath - If a valid content URI cannot be
extracted from the request in the
resolveContent(HttpServletRequest) method, it will
attempt to resolve the content URI using this default site root
path.public AbstractContentSource()
| Method Detail |
|---|
public String getDefaultSiteRootPath()
resolveContent(HttpServletRequest) method, it will
attempt to resolve the content URI using this default site root
path.
public void setDefaultSiteRootPath(String defaultSiteRootPath)
public ContentLocator resolveContent(javax.servlet.http.HttpServletRequest request)
throws ContentException
resolveContent in interface ContentSourcerequest - The HttpServletRequest containing the content URI.
ContentLocator with the information that was inferred from the HttpServletRequest.
ContentException - Thrown when there is an error accessing or forming content.public void destroy()
ContentSource
destroy in interface ContentSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||