Interface FastFailHttpClientRequest

  • All Superinterfaces:
    io.vertx.core.http.HttpClientRequest, 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​(io.vertx.core.buffer.Buffer buffer, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)  
      default void end​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)  
      default void end​(String s, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)  
      default void end​(String s, String s1, io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)  
      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 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 writeCustomFrame​(int type, int flags, io.vertx.core.buffer.Buffer payload)  
      default boolean writeQueueFull()  
      • Methods inherited from interface io.vertx.core.http.HttpClientRequest

        authority, connect, connect, earlyHintsHandler, end, end, end, end, getMaxRedirects, getMethod, getPort, getURI, idleTimeout, isFollowRedirects, numberOfRedirections, redirectHandler, reset, reset, response, response, send, send, send, send, send, send, send, send, sendHead, sendHead, setMaxRedirects, setMethod, setPort, setStreamPriority, setURI, streamId, traceOperation, traceOperation, version, write, write, write, write, writeCustomFrame
      • Methods inherited from interface io.vertx.core.streams.WriteStream

        write, write
    • 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.StreamBase
        Specified by:
        exceptionHandler 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)
      • pause

        default io.vertx.core.http.HttpClientRequest pause()
      • resume

        default io.vertx.core.http.HttpClientRequest resume()
      • fetch

        default io.vertx.core.http.HttpClientRequest fetch​(long amount)
      • endHandler

        default io.vertx.core.http.HttpClientRequest endHandler​(io.vertx.core.Handler<Void> endHandler)
      • 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()
      • getRawMethod

        default String getRawMethod()
      • setRawMethod

        default io.vertx.core.http.HttpClientRequest setRawMethod​(String method)
      • absoluteURI

        default String absoluteURI()
        Specified by:
        absoluteURI 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
      • continueHandler

        default io.vertx.core.http.HttpClientRequest continueHandler​(io.vertx.core.Handler<Void> handler)
        Specified by:
        continueHandler in interface io.vertx.core.http.HttpClientRequest
      • 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)
      • 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
      • end

        default void end​(String s,
                         io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
      • end

        default void end​(String s,
                         String s1,
                         io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Specified by:
        end in interface io.vertx.core.http.HttpClientRequest
      • end

        default void end​(io.vertx.core.buffer.Buffer buffer,
                         io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        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​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        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>