Interface AsyncServerExchangeHandler

    • Method Detail

      • handleRequest

        void handleRequest​(HttpRequest request,
                           EntityDetails entityDetails,
                           ResponseChannel responseChannel,
                           HttpContext context)
                    throws HttpException,
                           java.io.IOException
        Processes the actual HTTP request. The handler can choose to send response messages immediately inside the call or asynchronously at some later point.
        Parameters:
        request - the actual request.
        entityDetails - the request entity details or null if the request does not enclose an entity.
        responseChannel - the response channel.
        context - the actual execution context.
        Throws:
        HttpException
        java.io.IOException