Uses of Class
org.apache.solr.servlet.cache.Method
-
Packages that use Method Package Description org.apache.solr.servlet.cache Caching related classes used in the Solr HTTP API -
-
Uses of Method in org.apache.solr.servlet.cache
Methods in org.apache.solr.servlet.cache that return Method Modifier and Type Method 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.Methods in org.apache.solr.servlet.cache with parameters of type Method Modifier and Type Method 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 statusstatic 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.
-