|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap<java.lang.String,java.lang.Object> org.nuxeo.ecm.automation.OperationContext org.nuxeo.ecm.automation.server.jaxrs.RestOperationContext
public class RestOperationContext
A custom operation context to be used in REST calls on server side. This
implementation is delegating the post execution cleanup to the webengine
filter through UserSession
and RequestCleanupHandler
.
This way temporary resources like files used by operations are removed after the response is sent to the client.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Constructor Summary | |
---|---|
RestOperationContext()
|
Method Summary | |
---|---|
void |
addRequestCleanupHandler(javax.servlet.http.HttpServletRequest request)
Must be called before context execution |
void |
dispose()
|
Methods inherited from class org.nuxeo.ecm.automation.OperationContext |
---|
addCleanupHandler, getAdapter, getCoreSession, getInput, getLoginStack, getPrincipal, isCommit, peek, pop, pull, push, removeCleanupHandler, setCommit, setCoreSession, setInput |
Methods inherited from class java.util.HashMap |
---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
---|
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public RestOperationContext()
Method Detail |
---|
public void addRequestCleanupHandler(javax.servlet.http.HttpServletRequest request)
public void dispose()
dispose
in class OperationContext
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |