Interface Response.HeaderListener

    • Method Detail

      • onHeader

        boolean onHeader​(Response response,
                         HttpField field)
        Deprecated.
        Callback method invoked when a response header has been received and parsed, returning whether the header should be processed or not.
        Parameters:
        response - the response containing the response line data and the headers so far
        field - the header received
        Returns:
        true to process the header, false to skip processing of the header