@Singleton @Path(value="/ready") public final class Ready extends AbstractOryxResource
Responds to a HEAD or GET request to /ready
and returns Response.Status#OK
or Response.Status#SERVICE_UNAVAILABLE status depending or whether the model is
available or not.
INPUT_PRODUCER_KEY, MODEL_MANAGER_KEY| Constructor and Description |
|---|
Ready() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get() |
javax.ws.rs.core.Response |
head() |
check, check, checkExists, checkNotReadOnly, getServingModel, isReadOnly, maybeBuffer, maybeBuffer, maybeDecompress, parseMultipart, sendInputgetInputProducer, getServingModelManager, init@HEAD
public javax.ws.rs.core.Response head()
throws OryxServingException
OryxServingException@GET
public javax.ws.rs.core.Response get()
throws OryxServingException
OryxServingExceptionCopyright © 2014–2018. All rights reserved.