public class RestOperationContext extends OperationContext
RequestContext and RequestCleanupHandler.
This way temporary resources like files used by operations are removed after the response is sent to the client.
| Constructor and Description |
|---|
RestOperationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestCleanupHandler(HttpServletRequest request)
Must be called before context execution.
|
void |
dispose() |
addCleanupHandler, addTrace, clear, containsKey, containsValue, entrySet, get, getAdapter, getCoreSession, getFormattedTrace, getInput, getLoginStack, getPrincipal, getTrace, getVars, isCommit, isEmpty, keySet, peek, pop, pull, push, put, putAll, remove, removeCleanupHandler, setCommit, setCoreSession, setInput, setRollback, size, valuespublic void addRequestCleanupHandler(HttpServletRequest request)
public void dispose()
dispose in class OperationContextCopyright © 2012 Nuxeo SA. All Rights Reserved.