public class RequestContextExecutor extends BaseRequestContextExecutor<RequestContextExecutor>
Callable
or Executable
within a RequestContext
.
Usually, a RequestContext
is initialized by a RequestContextServletFilter
. However, for tasks that
are not triggered by a request (such as background jobs), the servlet filter is not executed. Therefore, in such
cases, this class provides a wrapper that initializes the required RequestContext
.
Constructor and Description |
---|
RequestContextExecutor() |
Modifier and Type | Method and Description |
---|---|
protected RequestContextExecutor |
getThis()
Getter needed to allow for a type safe return in the builder methods.
|
execute, execute, withListeners, withoutDefaultListeners, withoutListener, withoutListeners, withParentRequestContext, withRequestContext
@Nonnull protected RequestContextExecutor getThis()
BaseRequestContextExecutor
protected ImplementingType getThis() { return this; }in the subclasses.
getThis
in class BaseRequestContextExecutor<RequestContextExecutor>
Copyright © 2018 SAP SE. All rights reserved.