Class ExecutionRequest
- java.lang.Object
-
- org.nuxeo.ecm.automation.jaxrs.io.operations.ExecutionRequest
-
public class ExecutionRequest extends Object
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
input
protected Map<String,Object>
params
protected RestOperationContext
restOperationContext
-
Constructor Summary
Constructors Constructor Description ExecutionRequest()
ExecutionRequest(Object input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationContext
createContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CoreSession session)
Sets up and returns the currentOperationContext
, which MUST NOT be closed.Object
getInput()
Map<String,Object>
getParams()
RestOperationContext
getRestOperationContext()
Returns the currentOperationContext
, which MUST NOT be closed.void
setContextParam(String key, Object value)
void
setContextParam(String key, String value)
void
setInput(Object input)
void
setParam(String key, Object jsonObject)
void
setParam(String key, String value)
-
-
-
Field Detail
-
input
protected Object input
-
restOperationContext
protected RestOperationContext restOperationContext
-
-
Constructor Detail
-
ExecutionRequest
public ExecutionRequest()
-
ExecutionRequest
public ExecutionRequest(Object input)
-
-
Method Detail
-
setInput
public void setInput(Object input)
-
getInput
public Object getInput()
-
createContext
public OperationContext createContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, CoreSession session)
Sets up and returns the currentOperationContext
, which MUST NOT be closed.
-
getRestOperationContext
public RestOperationContext getRestOperationContext()
Returns the currentOperationContext
, which MUST NOT be closed.- Since:
- 7.1
-
-