Interface AsyncFilterChain


  • @Contract(threading=STATELESS)
    public interface AsyncFilterChain
    AsyncFilterChain represents a single element in the server side request processing chain.
    Since:
    5.0
    • Method Detail

      • proceed

        AsyncDataConsumer proceed​(HttpRequest request,
                                  EntityDetails entityDetails,
                                  HttpContext context,
                                  AsyncFilterChain.ResponseTrigger responseTrigger)
                           throws HttpException,
                                  java.io.IOException
        Proceeds to the next element in the request processing chain.
        Parameters:
        request - the actual request.
        entityDetails - the request entity details or null if the request does not enclose an entity.
        responseTrigger - the response trigger.
        context - the actual execution context.
        Throws:
        HttpException - in case of an HTTP protocol violation.
        java.io.IOException - in case of an I/O error.