|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.application.Resource
javax.faces.application.ResourceWrapper
com.liferay.faces.bridge.application.ResourceImpl
public class ResourceImpl
This class decorates the resource implementation from the JSF implementation.
| Field Summary |
|---|
| Fields inherited from class javax.faces.application.Resource |
|---|
COMPONENT_RESOURCE_KEY |
| Constructor Summary | |
|---|---|
ResourceImpl()
This constructor is used by Mojarra via reflection during state saving. |
|
ResourceImpl(javax.faces.application.Resource wrappedResource)
|
|
| Method Summary | |
|---|---|
String |
getContentType()
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
String |
getLibraryName()
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
String |
getRequestPath()
|
String |
getResourceName()
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
javax.faces.application.Resource |
getWrapped()
|
void |
setContentType(String contentType)
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
void |
setLibraryName(String libraryName)
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
void |
setResourceName(String resourceName)
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
String |
toString()
Since this method is not supplied by the ResourceWrapper class it has to be implemented here. |
boolean |
userAgentNeedsUpdate(javax.faces.context.FacesContext facesContext)
This method determines whether or not the browser (user agent) requesting this resource needs an update, which can ultimately save bandwidth and be a big performance improvement. |
| Methods inherited from class javax.faces.application.ResourceWrapper |
|---|
getInputStream, getResponseHeaders, getURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceImpl()
public ResourceImpl(javax.faces.application.Resource wrappedResource)
| Method Detail |
|---|
public String toString()
ResourceWrapper class it has to be implemented here.
toString in class javax.faces.application.Resourcepublic boolean userAgentNeedsUpdate(javax.faces.context.FacesContext facesContext)
userAgentNeedsUpdate in class javax.faces.application.ResourceWrapperpublic String getContentType()
ResourceWrapper class it has to be implemented here.
getContentType in class javax.faces.application.Resourcepublic void setContentType(String contentType)
ResourceWrapper class it has to be implemented here.
setContentType in class javax.faces.application.Resourcepublic String getLibraryName()
ResourceWrapper class it has to be implemented here.
getLibraryName in class javax.faces.application.Resourcepublic void setLibraryName(String libraryName)
ResourceWrapper class it has to be implemented here.
setLibraryName in class javax.faces.application.Resourcepublic String getRequestPath()
getRequestPath in class javax.faces.application.ResourceWrapperpublic String getResourceName()
ResourceWrapper class it has to be implemented here.
getResourceName in class javax.faces.application.Resourcepublic void setResourceName(String resourceName)
ResourceWrapper class it has to be implemented here.
setResourceName in class javax.faces.application.Resourcepublic javax.faces.application.Resource getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.faces.application.Resource>getWrapped in class javax.faces.application.ResourceWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||