@Singleton @Path(value="/knownItems") public final class KnownItems extends AbstractOryxResource
Responds to a GET request to /knownItems/[userID].
CSV output consists of one ID per line. JSON output is an array of item IDs.
INPUT_PRODUCER_KEY, MODEL_MANAGER_KEY| Constructor and Description |
|---|
KnownItems() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
get(String userID) |
check, check, checkExists, checkNotReadOnly, getServingModel, isReadOnly, maybeBuffer, maybeBuffer, maybeDecompress, parseMultipart, sendInputgetInputProducer, getServingModelManager, init@GET
@Path(value="{userID}")
@Produces(value={"text/plain","text/csv","application/json"})
public Collection<String> get(@PathParam(value="userID")
String userID)
throws OryxServingException
OryxServingExceptionCopyright © 2014–2018. All rights reserved.