public class AsynchronousMethodInvoker extends DefaultMethodInvoker
invokeMethod(Object, GenericMethodResource, Object[], ApplicationContext) return status 202 if job
successfully added in AsynchronousJobPool or response with error status (500) if job can't be accepted by
AsynchronousJobPool (e.g. if pool is overloaded). If job is accepted for execution then response includes a pointer
to a result in Location header and in entity.| Constructor and Description |
|---|
AsynchronousMethodInvoker(AsynchronousJobPool pool) |
| Modifier and Type | Method and Description |
|---|---|
Object |
invokeMethod(Object resource,
GenericMethodResource methodResource,
Object[] params,
ApplicationContext context) |
beforeInvokeMethod, invokeMethod, makeMethodParameterspublic AsynchronousMethodInvoker(AsynchronousJobPool pool)
public Object invokeMethod(Object resource, GenericMethodResource methodResource, Object[] params, ApplicationContext context)
invokeMethod in class DefaultMethodInvokerCopyright © 2012–2016 Codenvy, S.A.. All rights reserved.