Class QuarkusRequestWrapper

  • 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

    public class QuarkusRequestWrapper
    extends AbstractRequestWrapper
    • Field Detail

      • FAKE_COOKIE_NAME

        public static final String FAKE_COOKIE_NAME
        Huge hack, to work around the fact that there is no way to directly access this class once it is wrapped, we use a fake cookie
        See Also:
        Constant Field Values
    • Constructor Detail

      • QuarkusRequestWrapper

        public QuarkusRequestWrapper​(io.vertx.core.http.HttpServerRequest event,
                                     BiConsumer<io.vertx.core.http.Cookie,​io.vertx.core.http.HttpServerRequest> cookieConsumer)
    • Method Detail

      • addRequestDoneHandler

        public void addRequestDoneHandler​(io.vertx.core.Handler<Void> handler)
      • response

        public io.vertx.core.http.HttpServerResponse response()
        Specified by:
        response in interface io.vertx.core.http.HttpServerRequest
        Overrides:
        response in class AbstractRequestWrapper
      • done

        void done()
      • 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
        Overrides:
        exceptionHandler in class AbstractRequestWrapper
      • getCookie

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

        public Set<io.vertx.core.http.Cookie> cookies​(String name)
        Specified by:
        cookies in interface io.vertx.core.http.HttpServerRequest
        Overrides:
        cookies in class AbstractRequestWrapper