@Deprecated public class BaseNuxeoRestlet extends org.restlet.Restlet
Provides utility methods:
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEPRECATION_DONE
Deprecated.
|
Constructor and Description |
---|
BaseNuxeoRestlet()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected static javax.servlet.http.HttpServletRequest |
getHttpRequest(org.restlet.Request req)
Deprecated.
|
protected static javax.servlet.http.HttpServletResponse |
getHttpResponse(org.restlet.Response res)
Deprecated.
|
protected static String |
getQueryParamValue(org.restlet.Request req,
String paramName,
String defaultValue)
Deprecated.
|
protected static String |
getRestletFullUrl(org.restlet.Request request)
Deprecated.
|
protected static void |
handleError(org.dom4j.dom.DOMDocument result,
org.restlet.Response res,
Exception e)
Deprecated.
|
protected static void |
handleError(org.dom4j.dom.DOMDocument result,
org.restlet.Response res,
String message)
Deprecated.
|
protected static void |
handleError(org.restlet.Response res,
Exception e)
Deprecated.
|
protected static void |
handleError(org.restlet.Response res,
String message)
Deprecated.
|
protected void |
logDeprecation()
Deprecated.
|
void |
setEntityToBlobOutput(Blob blob,
DownloadService.ByteRange byteRange,
org.restlet.Response res)
Deprecated.
Sets the response entity to a representation that will write the blob.
|
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner, start, stop
protected static boolean DEPRECATION_DONE
public BaseNuxeoRestlet()
protected void logDeprecation()
protected static void handleError(org.restlet.Response res, String message)
protected static void handleError(org.restlet.Response res, Exception e)
protected static void handleError(org.dom4j.dom.DOMDocument result, org.restlet.Response res, Exception e)
protected static void handleError(org.dom4j.dom.DOMDocument result, org.restlet.Response res, String message)
protected static javax.servlet.http.HttpServletRequest getHttpRequest(org.restlet.Request req)
protected static javax.servlet.http.HttpServletResponse getHttpResponse(org.restlet.Response res)
protected static String getRestletFullUrl(org.restlet.Request request)
protected static String getQueryParamValue(org.restlet.Request req, String paramName, String defaultValue)
public void setEntityToBlobOutput(Blob blob, DownloadService.ByteRange byteRange, org.restlet.Response res)
blob
- the blobbyteRange
- the byte rangeres
- the responseCopyright © 2019 Nuxeo. All rights reserved.