|
||||||||||
| 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.ReadyServlet
public final class ReadyServlet
Responds to a HEAD request to /ready and in turn calls
MyrrixRecommender.isReady(). Returns "OK" or "Unavailable" status depending on
whether the recommender is ready.
| 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 | |
|---|---|
ReadyServlet()
|
|
| Method Summary | |
|---|---|
protected void |
doHead(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, doOptions, doPost, 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 ReadyServlet()
| Method Detail |
|---|
protected void doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doHead in class javax.servlet.http.HttpServletIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||