|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ajax4jsf.resource.InternetResourceBase
org.ajax4jsf.resource.StaticResource
public class StaticResource
| Field Summary |
|---|
| Fields inherited from interface org.ajax4jsf.resource.InternetResource |
|---|
CODEC_ATTR, DATA_SEPARATOR, DEFAULT_EXPIRE, DEFAULT_EXPITE_PARAMETER, ENCODE_PASS_PARAMETER, ENCODE_URI_PARAMETER, RESOURCE_PROTOCOL, RESOURCE_URI_PREFIX, RESOURCE_URI_PREFIX_LENGTH |
| Constructor Summary | |
|---|---|
StaticResource()
|
|
StaticResource(java.lang.String path)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getPath()
|
java.io.InputStream |
getResourceAsStream(ResourceContext context)
|
java.lang.String |
getUri(javax.faces.context.FacesContext context,
java.lang.Object data)
|
boolean |
isCacheable(ResourceContext resourceContext)
|
void |
setPath(java.lang.String path)
|
| Methods inherited from class org.ajax4jsf.resource.InternetResourceBase |
|---|
deserializeData, encode, encode, encodeBegin, encodeEnd, getContentLength, getContentType, getDataToStore, getExpired, getKey, getLastModified, getProperty, getRenderer, isSessionAware, requireFacesContext, restoreData, send, sendHeaders, setCacheable, setContentLength, setExpired, setKey, setLastModified, setProperty, setRenderer, setSessionAware |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticResource()
public StaticResource(java.lang.String path)
| Method Detail |
|---|
public java.io.InputStream getResourceAsStream(ResourceContext context)
getResourceAsStream in interface InternetResourcegetResourceAsStream in class InternetResourceBasepublic boolean isCacheable(ResourceContext resourceContext)
isCacheable in interface InternetResourceisCacheable in class InternetResourceBase
public java.lang.String getUri(javax.faces.context.FacesContext context,
java.lang.Object data)
getUri in interface InternetResourcegetUri in class InternetResourceBasepublic java.lang.String getPath()
public void setPath(java.lang.String path)
path - the path to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||