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, init
protected final void sendInput(String message)
protected final boolean isReadOnly()
protected final ServingModel getServingModel() throws OryxServingException
OryxServingException
protected final Collection<javax.servlet.http.Part> parseMultipart(javax.servlet.http.HttpServletRequest request) throws OryxServingException
OryxServingException
protected static void check(boolean condition, javax.ws.rs.core.Response.Status status, String errorMessage) throws OryxServingException
OryxServingException
protected static void check(boolean condition, String errorMessage) throws OryxServingException
OryxServingException
protected static void checkExists(boolean condition, String entity) throws OryxServingException
OryxServingException
protected void checkNotReadOnly() throws OryxServingException
OryxServingException
protected static BufferedReader maybeBuffer(InputStream in)
protected static BufferedReader maybeBuffer(Reader reader)
protected static InputStream maybeDecompress(javax.servlet.http.Part item) throws IOException
IOException
Copyright © 2014–2018. All rights reserved.