public class BaseStatelessNuxeoRestlet extends BaseNuxeoRestlet
Modifier and Type | Field and Description |
---|---|
protected CoreSession |
session |
protected DocumentRef |
targetDocRef |
protected DocumentModel |
targetDocument |
Constructor and Description |
---|
BaseStatelessNuxeoRestlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUp() |
protected void |
doHandleStatelessRequest(org.restlet.data.Request req,
org.restlet.data.Response res) |
void |
handle(org.restlet.data.Request request,
org.restlet.data.Response response) |
protected boolean |
initRepository(org.restlet.data.Response res,
String repoId) |
protected boolean |
initRepositoryAndTargetDocument(org.restlet.data.Response res,
String repoId,
String docId) |
getHttpRequest, getHttpResponse, getQueryParamValue, getRestletFullUrl, getUserPrincipal, handleError, handleError, handleError, handleError, setEntityToBlobOutput
getContext, getLogger, init, isStarted, isStopped, setContext, start, stop
protected CoreSession session
protected DocumentRef targetDocRef
protected DocumentModel targetDocument
public BaseStatelessNuxeoRestlet()
protected boolean initRepository(org.restlet.data.Response res, String repoId)
protected boolean initRepositoryAndTargetDocument(org.restlet.data.Response res, String repoId, String docId)
protected void cleanUp()
public void handle(org.restlet.data.Request request, org.restlet.data.Response response)
handle
in class org.restlet.Restlet
protected void doHandleStatelessRequest(org.restlet.data.Request req, org.restlet.data.Response res)
Copyright © 2018 Nuxeo. All rights reserved.