|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OpenSearchResponse
A response interface that all formats and functions will adhere to.
| Method Summary | |
|---|---|
String |
contentType()
Get the content type to return to users for this response |
void |
init(javax.servlet.http.HttpServletRequest request)
An initialisation function giving access to the HTTP input. |
String |
renderEmptyResponse()
Render a response indicated no results were returned |
String |
renderError(String message)
Render an error message response |
String |
renderResponse(org.apache.solr.client.solrj.response.QueryResponse results)
Render a valid response to a search result list. |
| Method Detail |
|---|
void init(javax.servlet.http.HttpServletRequest request)
request: - The incoming HTTP requestString renderResponse(org.apache.solr.client.solrj.response.QueryResponse results)
results: - The results list to render
String renderEmptyResponse()
String renderError(String message)
String: - The message to include in the response
String contentType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||