public class RawQuery extends CrossQuery
| Modifier and Type | Class and Description |
|---|---|
private class |
RawQuery.RawQueryConfig |
config, decimalFormat, profListenerstylesheetCache| Constructor and Description |
|---|
RawQuery() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(HttpServletRequest req,
HttpServletResponse res)
Creates the query request, processes it, and formats the results.
|
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
Handles the HTTP 'get' and 'put' methods.
|
String |
getConfigName()
Called by the superclass to find out the name of our specific config
file.
|
String |
getServletInfo()
Informational method required by Servlet interface.
|
protected TextConfig |
readConfig(String configPath)
We're keeping this servlet intentionally very simple -- so no config file.
|
apply, formatHits, getConfig, runQueryParser, runQueryRouter, shuntQueryReq, stepSetupaddParam, addToken, addTokens, buildParamBlock, calcMimeType, convertUTF8inURL, cqlTokenize, createFilteredReceiver, createQueryProcessor, decodeURL, defaultTokenize, destroy, doPost, genErrorPage, getCurRequest, getCurResponse, getCurServlet, getRealPath, getRequestURL, getRequestURL, getText, isEmpty, isSessionTrackingEnabled, makeAttribList, makeHtmlString, makeHtmlString, rawTokenize, readBranding, requireOrElse, restoreWildcards, saveWildcards, service, setErrorGenSheet, setupTrace, stuffAttribs, stuffAttribs, stuffSpecialAttribsdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, serviceprotected TextConfig readConfig(String configPath)
readConfig in class CrossQueryconfigPath - Path to the configuration filepublic String getConfigName()
CrossQuerygetConfigName in class CrossQuerypublic void doGet(HttpServletRequest req,
HttpServletResponse res)
throws IOException
doGet in class CrossQueryreq - The HTTP request (in)res - The HTTP response (out)IOException - If unable to read an index or data file, or
if unable to write the output stream.public String getServletInfo()
CrossQuerygetServletInfo in interface ServletgetServletInfo in class CrossQueryprotected void apply(HttpServletRequest req,
HttpServletResponse res)
throws Exception
req - The original HTTP requestres - Where to send the responseException - Passes on various errors that might occur.