public abstract class AbstractOryxResource extends OryxResource
INPUT_PRODUCER_KEY, MODEL_MANAGER_KEY| Constructor and Description |
|---|
AbstractOryxResource() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
check(boolean condition,
javax.ws.rs.core.Response.Status status,
String errorMessage) |
protected static void |
check(boolean condition,
String errorMessage) |
protected static void |
checkExists(boolean condition,
String entity) |
protected void |
checkNotReadOnly() |
protected ServingModel |
getServingModel() |
protected boolean |
isReadOnly() |
protected static BufferedReader |
maybeBuffer(InputStream in) |
protected static BufferedReader |
maybeBuffer(Reader reader) |
protected static InputStream |
maybeDecompress(javax.servlet.http.Part item) |
protected Collection<javax.servlet.http.Part> |
parseMultipart(javax.servlet.http.HttpServletRequest request) |
protected void |
sendInput(String message) |
getInputProducer, getServingModelManager, initprotected final void sendInput(String message)
protected final boolean isReadOnly()
protected final ServingModel getServingModel() throws OryxServingException
OryxServingExceptionprotected final Collection<javax.servlet.http.Part> parseMultipart(javax.servlet.http.HttpServletRequest request) throws OryxServingException
OryxServingExceptionprotected static void check(boolean condition,
javax.ws.rs.core.Response.Status status,
String errorMessage)
throws OryxServingException
OryxServingExceptionprotected static void check(boolean condition,
String errorMessage)
throws OryxServingException
OryxServingExceptionprotected static void checkExists(boolean condition,
String entity)
throws OryxServingException
OryxServingExceptionprotected void checkNotReadOnly()
throws OryxServingException
OryxServingExceptionprotected static BufferedReader maybeBuffer(InputStream in)
protected static BufferedReader maybeBuffer(Reader reader)
protected static InputStream maybeDecompress(javax.servlet.http.Part item) throws IOException
IOExceptionCopyright © 2014–2018. All rights reserved.