Package | Description |
---|---|
org.apache.solr.servlet.cache |
Caching related classes used in the Solr HTTP API
|
Modifier and Type | Method and Description |
---|---|
static Method |
Method.getMethod(String method) |
static Method |
Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Method[] |
Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
HttpCacheHeaderUtil.checkETagValidators(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Method reqMethod,
String etag)
Check for etag related conditional headers and set status
|
static void |
HttpCacheHeaderUtil.checkHttpCachingVeto(SolrQueryResponse solrRsp,
javax.servlet.http.HttpServletResponse resp,
Method reqMethod)
Checks if the downstream request handler wants to avoid HTTP caching of
the response.
|
static boolean |
HttpCacheHeaderUtil.doCacheHeaderValidation(SolrQueryRequest solrReq,
javax.servlet.http.HttpServletRequest req,
Method reqMethod,
javax.servlet.http.HttpServletResponse resp)
Sets HTTP Response cache validator headers appropriately and
validates the HTTP Request against these using any conditional
request headers.
|
static void |
HttpCacheHeaderUtil.setCacheControlHeader(SolrConfig conf,
javax.servlet.http.HttpServletResponse resp,
Method method)
Set the Cache-Control HTTP header (and Expires if needed)
based on the SolrConfig.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.