Uses of Enum Class
org.apache.solr.servlet.cache.Method
Packages that use Method
Package
Description
Commonly used classes for Solr V2 API.
Servlet related classes for powering the Solr HTTP API
Caching related classes used in the Solr HTTP API
-
Uses of Method in org.apache.solr.api
Methods in org.apache.solr.api with parameters of type MethodModifier and TypeMethodDescriptionprotected voidV2HttpCall.writeResponse(SolrQueryResponse solrRsp, QueryResponseWriter responseWriter, Method reqMethod) -
Uses of Method in org.apache.solr.servlet
Methods in org.apache.solr.servlet with parameters of type MethodModifier and TypeMethodDescriptionprotected voidHttpSolrCall.writeResponse(SolrQueryResponse solrRsp, QueryResponseWriter responseWriter, Method reqMethod) -
Uses of Method in org.apache.solr.servlet.cache
Methods in org.apache.solr.servlet.cache that return MethodModifier and TypeMethodDescriptionstatic Methodstatic MethodReturns the enum constant of this class with the specified name.static Method[]Method.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.solr.servlet.cache with parameters of type MethodModifier and TypeMethodDescriptionstatic booleanHttpCacheHeaderUtil.checkETagValidators(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, Method reqMethod, String etag) Check for etag related conditional headers and set statusstatic voidHttpCacheHeaderUtil.checkHttpCachingVeto(SolrQueryResponse solrRsp, jakarta.servlet.http.HttpServletResponse resp, Method reqMethod) Checks if the downstream request handler wants to avoid HTTP caching of the response.static booleanHttpCacheHeaderUtil.doCacheHeaderValidation(SolrQueryRequest solrReq, jakarta.servlet.http.HttpServletRequest req, Method reqMethod, jakarta.servlet.http.HttpServletResponse resp) Sets HTTP Response cache validator headers appropriately and validates the HTTP Request against these using any conditional request headers.static voidHttpCacheHeaderUtil.setCacheControlHeader(SolrConfig conf, jakarta.servlet.http.HttpServletResponse resp, Method method) Set the Cache-Control HTTP header (and Expires if needed) based on the SolrConfig.