Interface InterceptorContext<Reuqest,​Response>

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    DefaultInterceptorContext

    public interface InterceptorContext<Reuqest,​Response>
    extends Serializable
    Exposes contextual information about the intercepted invocation of Interceptor. This allows implementers to control the behavior of the invocation chain.

    If multiple interceptors are registered with the same priority, then their execution order may be non deterministic.

    See Also:
    ActionFilter.order()
    • Method Detail

      • proceed

        Response proceed​(Reuqest reuqest)
        Proceeds to the next interceptor in the chain.
        Parameters:
        reuqest - the request.