public class HttpSolrCall extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.solr.servlet.SolrDispatchFilter.Action |
action |
protected List<String> |
collectionsList |
protected SolrConfig |
config |
protected SolrCore |
core |
protected CoreContainer |
cores |
protected String |
coreUrl |
protected SolrRequestHandler |
handler |
protected Map<String,Integer> |
invalidStates |
protected static org.slf4j.Logger |
log |
protected String |
path |
protected SolrParams |
queryParams |
protected javax.servlet.http.HttpServletRequest |
req |
protected AuthorizationContext.RequestType |
requestType |
protected javax.servlet.http.HttpServletResponse |
response |
protected boolean |
retry |
protected SolrDispatchFilter |
solrDispatchFilter |
protected SolrQueryRequest |
solrReq |
Constructor and Description |
---|
HttpSolrCall(SolrDispatchFilter solrDispatchFilter,
CoreContainer cores,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean retry) |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.servlet.SolrDispatchFilter.Action |
call()
This method processes the request.
|
protected void |
execute(SolrQueryResponse rsp) |
List<String> |
getCollectionsList() |
SolrCore |
getCore() |
String |
getPath() |
SolrParams |
getQueryParams() |
javax.servlet.http.HttpServletRequest |
getReq() |
AuthorizationContext.RequestType |
getRequestType() |
protected void |
sendError(int code,
String message) |
protected void |
sendError(Throwable ex) |
protected static org.slf4j.Logger log
protected final SolrDispatchFilter solrDispatchFilter
protected final CoreContainer cores
protected final javax.servlet.http.HttpServletRequest req
protected final javax.servlet.http.HttpServletResponse response
protected final boolean retry
protected SolrCore core
protected SolrQueryRequest solrReq
protected SolrRequestHandler handler
protected final SolrParams queryParams
protected String path
protected org.apache.solr.servlet.SolrDispatchFilter.Action action
protected String coreUrl
protected SolrConfig config
protected AuthorizationContext.RequestType requestType
public HttpSolrCall(SolrDispatchFilter solrDispatchFilter, CoreContainer cores, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean retry)
public AuthorizationContext.RequestType getRequestType()
public String getPath()
public javax.servlet.http.HttpServletRequest getReq()
public SolrCore getCore()
public SolrParams getQueryParams()
public org.apache.solr.servlet.SolrDispatchFilter.Action call() throws IOException
IOException
protected void sendError(Throwable ex) throws IOException
IOException
protected void sendError(int code, String message) throws IOException
IOException
protected void execute(SolrQueryResponse rsp)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.