Interface FastFailHttpClientRequest

  • All Superinterfaces:
    io.vertx.core.http.HttpClientRequest, io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>, io.vertx.core.streams.StreamBase, io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
    All Known Implementing Classes:
    LocalHttpClientRequest

    public interface FastFailHttpClientRequest
    extends io.vertx.core.http.HttpClientRequest
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String msg  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default String absoluteURI()  
      default io.vertx.core.http.HttpConnection connection()  
      default io.vertx.core.http.HttpClientRequest connectionHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)  
      default io.vertx.core.http.HttpClientRequest continueHandler​(io.vertx.core.Handler<Void> handler)  
      default io.vertx.core.http.HttpClientRequest drainHandler​(io.vertx.core.Handler<Void> handler)  
      default void end()  
      default void end​(io.vertx.core.buffer.Buffer chunk)  
      default void end​(String chunk)  
      default void end​(String chunk, String enc)  
      default io.vertx.core.http.HttpClientRequest endHandler​(io.vertx.core.Handler<Void> endHandler)  
      default io.vertx.core.http.HttpClientRequest exceptionHandler​(io.vertx.core.Handler<Throwable> handler)  
      default io.vertx.core.http.HttpClientRequest fetch​(long amount)  
      default String getHost()  
      default String getRawMethod()  
      default io.vertx.core.http.StreamPriority getStreamPriority()  
      default io.vertx.core.http.HttpClientRequest handler​(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler)  
      default io.vertx.core.MultiMap headers()  
      default boolean isChunked()  
      default io.vertx.core.http.HttpMethod method()  
      default String path()  
      default io.vertx.core.http.HttpClientRequest pause()  
      default io.vertx.core.http.HttpClientRequest pushHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)  
      default io.vertx.core.http.HttpClientRequest putHeader​(CharSequence name, CharSequence value)  
      default io.vertx.core.http.HttpClientRequest putHeader​(CharSequence name, Iterable<CharSequence> values)  
      default io.vertx.core.http.HttpClientRequest putHeader​(String name, Iterable<String> values)  
      default io.vertx.core.http.HttpClientRequest putHeader​(String name, String value)  
      default String query()  
      default boolean reset​(long code)  
      default io.vertx.core.http.HttpClientRequest resume()  
      default io.vertx.core.http.HttpClientRequest sendHead()  
      default io.vertx.core.http.HttpClientRequest sendHead​(io.vertx.core.Handler<io.vertx.core.http.HttpVersion> completionHandler)  
      default io.vertx.core.http.HttpClientRequest setChunked​(boolean chunked)  
      default io.vertx.core.http.HttpClientRequest setFollowRedirects​(boolean followRedirects)  
      default io.vertx.core.http.HttpClientRequest setHost​(String host)  
      default io.vertx.core.http.HttpClientRequest setRawMethod​(String method)  
      default io.vertx.core.http.HttpClientRequest setTimeout​(long timeoutMs)  
      default io.vertx.core.http.HttpClientRequest setWriteQueueMaxSize​(int maxSize)  
      default String uri()  
      default io.vertx.core.http.HttpClientRequest write​(io.vertx.core.buffer.Buffer data)  
      default io.vertx.core.http.HttpClientRequest write​(String chunk)  
      default io.vertx.core.http.HttpClientRequest write​(String chunk, String enc)  
      default io.vertx.core.http.HttpClientRequest writeCustomFrame​(int type, int flags, io.vertx.core.buffer.Buffer payload)  
      default boolean writeQueueFull()  
      • Methods inherited from interface io.vertx.core.http.HttpClientRequest

        reset, setStreamPriority, streamId, writeCustomFrame
    • Method Detail

      • exceptionHandler

        default io.vertx.core.http.HttpClientRequest exceptionHandler​(io.vertx.core.Handler<Throwable> handler)
        Specified by:
        exceptionHandler in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        exceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
        Specified by:
        exceptionHandler in interface io.vertx.core.streams.StreamBase
        Specified by:
        exceptionHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • write

        default io.vertx.core.http.HttpClientRequest write​(io.vertx.core.buffer.Buffer data)
        Specified by:
        write in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        write in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • setWriteQueueMaxSize

        default io.vertx.core.http.HttpClientRequest setWriteQueueMaxSize​(int maxSize)
        Specified by:
        setWriteQueueMaxSize in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        setWriteQueueMaxSize in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • writeQueueFull

        default boolean writeQueueFull()
        Specified by:
        writeQueueFull in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • drainHandler

        default io.vertx.core.http.HttpClientRequest drainHandler​(io.vertx.core.Handler<Void> handler)
        Specified by:
        drainHandler in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        drainHandler in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • handler

        default io.vertx.core.http.HttpClientRequest handler​(io.vertx.core.Handler<io.vertx.core.http.HttpClientResponse> handler)
        Specified by:
        handler in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        handler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
      • pause

        default io.vertx.core.http.HttpClientRequest pause()
        Specified by:
        pause in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        pause in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
      • resume

        default io.vertx.core.http.HttpClientRequest resume()
        Specified by:
        resume in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        resume in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
      • fetch

        default io.vertx.core.http.HttpClientRequest fetch​(long amount)
        Specified by:
        fetch in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        fetch in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
      • endHandler

        default io.vertx.core.http.HttpClientRequest endHandler​(io.vertx.core.Handler<Void> endHandler)
        Specified by:
        endHandler in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.http.HttpClientResponse>
      • setFollowRedirects

        default io.vertx.core.http.HttpClientRequest setFollowRedirects​(boolean followRedirects)
        Specified by:
        setFollowRedirects in interface io.vertx.core.http.HttpClientRequest
      • setChunked

        default io.vertx.core.http.HttpClientRequest setChunked​(boolean chunked)
        Specified by:
        setChunked in interface io.vertx.core.http.HttpClientRequest
      • isChunked

        default boolean isChunked()
        Specified by:
        isChunked in interface io.vertx.core.http.HttpClientRequest
      • method

        default io.vertx.core.http.HttpMethod method()
        Specified by:
        method in interface io.vertx.core.http.HttpClientRequest
      • getRawMethod

        default String getRawMethod()
        Specified by:
        getRawMethod in interface io.vertx.core.http.HttpClientRequest
      • setRawMethod

        default io.vertx.core.http.HttpClientRequest setRawMethod​(String method)
        Specified by:
        setRawMethod in interface io.vertx.core.http.HttpClientRequest
      • absoluteURI

        default String absoluteURI()
        Specified by:
        absoluteURI in interface io.vertx.core.http.HttpClientRequest
      • uri

        default String uri()
        Specified by:
        uri in interface io.vertx.core.http.HttpClientRequest
      • path

        default String path()
        Specified by:
        path in interface io.vertx.core.http.HttpClientRequest
      • query

        default String query()
        Specified by:
        query in interface io.vertx.core.http.HttpClientRequest
      • setHost

        default io.vertx.core.http.HttpClientRequest setHost​(String host)
        Specified by:
        setHost in interface io.vertx.core.http.HttpClientRequest
      • getHost

        default String getHost()
        Specified by:
        getHost in interface io.vertx.core.http.HttpClientRequest
      • headers

        default io.vertx.core.MultiMap headers()
        Specified by:
        headers in interface io.vertx.core.http.HttpClientRequest
      • putHeader

        default io.vertx.core.http.HttpClientRequest putHeader​(String name,
                                                               String value)
        Specified by:
        putHeader in interface io.vertx.core.http.HttpClientRequest
      • putHeader

        default io.vertx.core.http.HttpClientRequest putHeader​(CharSequence name,
                                                               CharSequence value)
        Specified by:
        putHeader in interface io.vertx.core.http.HttpClientRequest
      • putHeader

        default io.vertx.core.http.HttpClientRequest putHeader​(String name,
                                                               Iterable<String> values)
        Specified by:
        putHeader in interface io.vertx.core.http.HttpClientRequest
      • putHeader

        default io.vertx.core.http.HttpClientRequest putHeader​(CharSequence name,
                                                               Iterable<CharSequence> values)
        Specified by:
        putHeader in interface io.vertx.core.http.HttpClientRequest
      • write

        default io.vertx.core.http.HttpClientRequest write​(String chunk)
        Specified by:
        write in interface io.vertx.core.http.HttpClientRequest
      • write

        default io.vertx.core.http.HttpClientRequest write​(String chunk,
                                                           String enc)
        Specified by:
        write in interface io.vertx.core.http.HttpClientRequest
      • continueHandler

        default io.vertx.core.http.HttpClientRequest continueHandler​(io.vertx.core.Handler<Void> handler)
        Specified by:
        continueHandler in interface io.vertx.core.http.HttpClientRequest
      • sendHead

        default io.vertx.core.http.HttpClientRequest sendHead()
        Specified by:
        sendHead in interface io.vertx.core.http.HttpClientRequest
      • sendHead

        default io.vertx.core.http.HttpClientRequest sendHead​(io.vertx.core.Handler<io.vertx.core.http.HttpVersion> completionHandler)
        Specified by:
        sendHead in interface io.vertx.core.http.HttpClientRequest
      • end

        default void end​(String chunk)
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
      • end

        default void end​(String chunk,
                         String enc)
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
      • end

        default void end​(io.vertx.core.buffer.Buffer chunk)
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • end

        default void end()
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
        Specified by:
        end in interface io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer>
      • setTimeout

        default io.vertx.core.http.HttpClientRequest setTimeout​(long timeoutMs)
        Specified by:
        setTimeout in interface io.vertx.core.http.HttpClientRequest
      • pushHandler

        default io.vertx.core.http.HttpClientRequest pushHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpClientRequest> handler)
        Specified by:
        pushHandler in interface io.vertx.core.http.HttpClientRequest
      • reset

        default boolean reset​(long code)
        Specified by:
        reset in interface io.vertx.core.http.HttpClientRequest
      • connection

        default io.vertx.core.http.HttpConnection connection()
        Specified by:
        connection in interface io.vertx.core.http.HttpClientRequest
      • connectionHandler

        default io.vertx.core.http.HttpClientRequest connectionHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpConnection> handler)
        Specified by:
        connectionHandler in interface io.vertx.core.http.HttpClientRequest
      • writeCustomFrame

        default io.vertx.core.http.HttpClientRequest writeCustomFrame​(int type,
                                                                      int flags,
                                                                      io.vertx.core.buffer.Buffer payload)
        Specified by:
        writeCustomFrame in interface io.vertx.core.http.HttpClientRequest
      • getStreamPriority

        default io.vertx.core.http.StreamPriority getStreamPriority()
        Specified by:
        getStreamPriority in interface io.vertx.core.http.HttpClientRequest