|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
net.myrrix.web.servlets.AbstractMyrrixServlet
net.myrrix.web.servlets.IngestServlet
public final class IngestServlet
Responds to a POST request to /ingest and in turn calls
MyrrixRecommender.ingest(java.io.Reader)}. The content of the request body is
fed to this method. Note that the content may be gzipped; if so, header "Content-Encoding"
must have value "gzip".
| Field Summary |
|---|
| Fields inherited from class net.myrrix.web.servlets.AbstractMyrrixServlet |
|---|
ALL_PARTITIONS_KEY, LOCAL_INPUT_DIR_KEY, NUM_PARTITIONS_KEY, PARTITION_KEY, RECOMMENDER_KEY, RESCORER_PROVIDER_KEY, TIMINGS_KEY |
| Constructor Summary | |
|---|---|
IngestServlet()
|
|
| Method Summary | |
|---|---|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
| Methods inherited from class net.myrrix.web.servlets.AbstractMyrrixServlet |
|---|
determineResponseType, getConsiderKnownItems, getHowMany, getPartitionToServe, getRecommender, getRescorerParams, getRescorerProvider, getTiming, init, output, service |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IngestServlet()
| Method Detail |
|---|
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doPost in class javax.servlet.http.HttpServletIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||