public abstract class AbstractBaseResource
extends javax.faces.application.Resource
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_PROTOCOL |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBaseResource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCacheControlResponseHeaders(javax.faces.context.FacesContext facesContext,
Map<String,String> headers) |
protected void |
addNoCacheResponseHeaders(javax.faces.context.FacesContext facesContext,
Map<String,String> headers) |
protected ClassLoader |
getClassLoader() |
protected int |
getContentLength(javax.faces.context.FacesContext context) |
protected Date |
getLastModified(javax.faces.context.FacesContext context)
TODO optimize/review?
|
String |
getRequestPath() |
Map<String,String> |
getResponseHeaders() |
URL |
getURL() |
boolean |
userAgentNeedsUpdate(javax.faces.context.FacesContext context) |
public static final String URL_PROTOCOL
protected int getContentLength(javax.faces.context.FacesContext context)
protected Date getLastModified(javax.faces.context.FacesContext context)
protected ClassLoader getClassLoader()
public String getRequestPath()
getRequestPath in class javax.faces.application.Resourceprotected void addNoCacheResponseHeaders(javax.faces.context.FacesContext facesContext,
Map<String,String> headers)
protected void addCacheControlResponseHeaders(javax.faces.context.FacesContext facesContext,
Map<String,String> headers)
public Map<String,String> getResponseHeaders()
getResponseHeaders in class javax.faces.application.Resourcepublic URL getURL()
getURL in class javax.faces.application.Resourcepublic boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
userAgentNeedsUpdate in class javax.faces.application.ResourceCopyright © 2012 JBoss by Red Hat. All Rights Reserved.