Java org.springframework.web.context.request.async CallableProcessingInterceptor fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.request.async CallableProcessingInterceptor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.request.async CallableProcessingInterceptor.

The text is from its open source code.

Implementation

org.springframework.web.context.request.async.CallableProcessingInterceptor has the following implementations.
Click this link to see all its implementation.

Field

ObjectRESULT_NONE
Constant indicating that no result has been determined by this interceptor, giving subsequent interceptors a chance.
ObjectRESPONSE_HANDLED
Constant indicating that the response has been handled by this interceptor without a result and that no further interceptors are to be invoked.

Method

voidbeforeConcurrentHandling(NativeWebRequest request, Callable task)
Invoked before the start of concurrent handling in the original thread in which the Callable is submitted for concurrent handling.
ClassgetClass()
Returns the runtime class of this Object .
ObjecthandleError(NativeWebRequest request, Callable task, Throwable t)
Invoked from a container thread when an error occurred while processing the async request before the Callable task completes.
ObjecthandleTimeout(NativeWebRequest request, Callable task)
Invoked from a container thread when the async request times out before the Callable task completes.
inthashCode()
Returns a hash code value for the object.
voidpreProcess(NativeWebRequest request, Callable task)
Invoked after the start of concurrent handling in the async thread in which the Callable is executed and before the actual invocation of the Callable .