|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentSource
Defines a source to retrieve content for the application.
Method Summary | |
---|---|
void |
destroy()
Performs any actions needed to clean up after the content source. |
ContentLocator |
resolveContent(javax.servlet.http.HttpServletRequest pRequest)
Similar to resolveContent(String) , but attempts to infer
the content URI from the path info of the given servlet request. |
ContentLocator |
resolveContent(String pContentUri)
Returns a ContentLocator which can be used to provide information about the location of the content represented by the given URI or retrieve the actual content. |
Method Detail |
---|
ContentLocator resolveContent(String pContentUri) throws ContentException
pContentUri
- The URI to access for content. The string should
be properly URL-encoded.
ContentLocator
with the location of the content.
ContentException
- Thrown when there is an error accessing
or forming content.ContentLocator resolveContent(javax.servlet.http.HttpServletRequest pRequest) throws ContentException
resolveContent(String)
, but attempts to infer
the content URI from the path info of the given servlet request.
pRequest
- 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.void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |