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.Resource
protected 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.Resource
public URL getURL()
getURL
in class javax.faces.application.Resource
public boolean userAgentNeedsUpdate(javax.faces.context.FacesContext context)
userAgentNeedsUpdate
in class javax.faces.application.Resource
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.