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() |
addChainCallback, addCleanupHandler, addTrace, clear, containsKey, containsValue, entrySet, get, getAdapter, getChainCallback, getCoreSession, getFormattedTrace, getInput, getLoginStack, getPrincipal, getSubContext, getTrace, getVars, isCommit, isEmpty, keySet, peek, pop, pull, push, put, putAll, remove, removeCleanupHandler, setCommit, setCoreSession, setInput, setRollback, size, values
public void addRequestCleanupHandler(HttpServletRequest request)
public void dispose()
dispose
in class OperationContext
Copyright © 2013 Nuxeo SA. All Rights Reserved.