Class AbstractRequestWrapper

  • All Implemented Interfaces:
    io.vertx.core.http.HttpServerRequest, io.vertx.core.http.impl.HttpServerRequestInternal, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>, io.vertx.core.streams.StreamBase
    Direct Known Subclasses:
    QuarkusRequestWrapper, ResumingRequestWrapper

    public abstract class AbstractRequestWrapper
    extends Object
    implements io.vertx.core.http.HttpServerRequest, io.vertx.core.http.impl.HttpServerRequestInternal
    • Field Detail

      • delegate

        protected final io.vertx.core.http.impl.HttpServerRequestInternal delegate
    • Constructor Detail

      • AbstractRequestWrapper

        protected AbstractRequestWrapper​(io.vertx.core.http.HttpServerRequest request)
    • Method Detail

      • bytesRead

        public long bytesRead()
        Specified by:
        bytesRead in interface io.vertx.core.http.HttpServerRequest
      • exceptionHandler

        public io.vertx.core.http.HttpServerRequest exceptionHandler​(io.vertx.core.Handler<Throwable> handler)
        Specified by:
        exceptionHandler in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        exceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
        Specified by:
        exceptionHandler in interface io.vertx.core.streams.StreamBase
      • handler

        public io.vertx.core.http.HttpServerRequest handler​(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
        Specified by:
        handler in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        handler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      • pause

        public io.vertx.core.http.HttpServerRequest pause()
        Specified by:
        pause in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        pause in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      • resume

        public io.vertx.core.http.HttpServerRequest resume()
        Specified by:
        resume in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        resume in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      • fetch

        public io.vertx.core.http.HttpServerRequest fetch​(long amount)
        Specified by:
        fetch in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        fetch in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      • endHandler

        public io.vertx.core.http.HttpServerRequest endHandler​(io.vertx.core.Handler<Void> handler)
        Specified by:
        endHandler in interface io.vertx.core.http.HttpServerRequest
        Specified by:
        endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      • version

        public io.vertx.core.http.HttpVersion version()
        Specified by:
        version in interface io.vertx.core.http.HttpServerRequest
      • method

        public io.vertx.core.http.HttpMethod method()
        Specified by:
        method in interface io.vertx.core.http.HttpServerRequest
      • uri

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

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

        public String query()
        Specified by:
        query in interface io.vertx.core.http.HttpServerRequest
      • response

        public io.vertx.core.http.HttpServerResponse response()
        Specified by:
        response in interface io.vertx.core.http.HttpServerRequest
      • headers

        public io.vertx.core.MultiMap headers()
        Specified by:
        headers in interface io.vertx.core.http.HttpServerRequest
      • getHeader

        public String getHeader​(String s)
        Specified by:
        getHeader in interface io.vertx.core.http.HttpServerRequest
      • getHeader

        public String getHeader​(CharSequence charSequence)
        Specified by:
        getHeader in interface io.vertx.core.http.HttpServerRequest
      • params

        public io.vertx.core.MultiMap params()
        Specified by:
        params in interface io.vertx.core.http.HttpServerRequest
      • getParam

        public String getParam​(String s)
        Specified by:
        getParam in interface io.vertx.core.http.HttpServerRequest
      • remoteAddress

        public io.vertx.core.net.SocketAddress remoteAddress()
        Specified by:
        remoteAddress in interface io.vertx.core.http.HttpServerRequest
      • localAddress

        public io.vertx.core.net.SocketAddress localAddress()
        Specified by:
        localAddress in interface io.vertx.core.http.HttpServerRequest
      • sslSession

        public SSLSession sslSession()
        Specified by:
        sslSession in interface io.vertx.core.http.HttpServerRequest
      • absoluteURI

        public String absoluteURI()
        Specified by:
        absoluteURI in interface io.vertx.core.http.HttpServerRequest
      • scheme

        public String scheme()
        Specified by:
        scheme in interface io.vertx.core.http.HttpServerRequest
      • host

        public String host()
        Specified by:
        host in interface io.vertx.core.http.HttpServerRequest
      • customFrameHandler

        public io.vertx.core.http.HttpServerRequest customFrameHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler)
        Specified by:
        customFrameHandler in interface io.vertx.core.http.HttpServerRequest
      • connection

        public io.vertx.core.http.HttpConnection connection()
        Specified by:
        connection in interface io.vertx.core.http.HttpServerRequest
      • bodyHandler

        public io.vertx.core.http.HttpServerRequest bodyHandler​(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
        Specified by:
        bodyHandler in interface io.vertx.core.http.HttpServerRequest
      • setExpectMultipart

        public io.vertx.core.http.HttpServerRequest setExpectMultipart​(boolean b)
        Specified by:
        setExpectMultipart in interface io.vertx.core.http.HttpServerRequest
      • isExpectMultipart

        public boolean isExpectMultipart()
        Specified by:
        isExpectMultipart in interface io.vertx.core.http.HttpServerRequest
      • uploadHandler

        public io.vertx.core.http.HttpServerRequest uploadHandler​(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> handler)
        Specified by:
        uploadHandler in interface io.vertx.core.http.HttpServerRequest
      • formAttributes

        public io.vertx.core.MultiMap formAttributes()
        Specified by:
        formAttributes in interface io.vertx.core.http.HttpServerRequest
      • getFormAttribute

        public String getFormAttribute​(String s)
        Specified by:
        getFormAttribute in interface io.vertx.core.http.HttpServerRequest
      • isEnded

        public boolean isEnded()
        Specified by:
        isEnded in interface io.vertx.core.http.HttpServerRequest
      • isSSL

        public boolean isSSL()
        Specified by:
        isSSL in interface io.vertx.core.http.HttpServerRequest
      • streamPriorityHandler

        public io.vertx.core.http.HttpServerRequest streamPriorityHandler​(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler)
        Specified by:
        streamPriorityHandler in interface io.vertx.core.http.HttpServerRequest
      • streamPriority

        public io.vertx.core.http.StreamPriority streamPriority()
        Specified by:
        streamPriority in interface io.vertx.core.http.HttpServerRequest
      • getCookie

        public io.vertx.core.http.Cookie getCookie​(String name)
        Specified by:
        getCookie in interface io.vertx.core.http.HttpServerRequest
      • cookieCount

        public int cookieCount()
        Specified by:
        cookieCount in interface io.vertx.core.http.HttpServerRequest
      • cookieMap

        public Map<String,​io.vertx.core.http.Cookie> cookieMap()
        Specified by:
        cookieMap in interface io.vertx.core.http.HttpServerRequest
      • body

        public io.vertx.core.http.HttpServerRequest body​(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler)
        Specified by:
        body in interface io.vertx.core.http.HttpServerRequest
      • end

        public void end​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Specified by:
        end in interface io.vertx.core.http.HttpServerRequest
      • toNetSocket

        public void toNetSocket​(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>> handler)
        Specified by:
        toNetSocket in interface io.vertx.core.http.HttpServerRequest
      • toWebSocket

        public void toWebSocket​(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.ServerWebSocket>> handler)
        Specified by:
        toWebSocket in interface io.vertx.core.http.HttpServerRequest
      • routed

        public io.vertx.core.http.HttpServerRequest routed​(String route)
        Specified by:
        routed in interface io.vertx.core.http.HttpServerRequest
      • body

        public io.vertx.core.Future<io.vertx.core.buffer.Buffer> body()
        Specified by:
        body in interface io.vertx.core.http.HttpServerRequest
      • end

        public io.vertx.core.Future<Void> end()
        Specified by:
        end in interface io.vertx.core.http.HttpServerRequest
      • toNetSocket

        public io.vertx.core.Future<io.vertx.core.net.NetSocket> toNetSocket()
        Specified by:
        toNetSocket in interface io.vertx.core.http.HttpServerRequest
      • toWebSocket

        public io.vertx.core.Future<io.vertx.core.http.ServerWebSocket> toWebSocket()
        Specified by:
        toWebSocket in interface io.vertx.core.http.HttpServerRequest
      • context

        public io.vertx.core.Context context()
        Specified by:
        context in interface io.vertx.core.http.impl.HttpServerRequestInternal
      • metric

        public Object metric()
        Specified by:
        metric in interface io.vertx.core.http.impl.HttpServerRequestInternal