Class QuarkusRequestWrapper
- java.lang.Object
-
- io.vertx.core.http.impl.HttpServerRequestInternal
-
- io.vertx.core.http.impl.HttpServerRequestWrapper
-
- io.quarkus.vertx.http.runtime.filters.QuarkusRequestWrapper
-
- All Implemented Interfaces:
io.vertx.core.http.HttpServerRequest,io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>,io.vertx.core.streams.StreamBase
public class QuarkusRequestWrapper extends io.vertx.core.http.impl.HttpServerRequestWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classQuarkusRequestWrapper.QuarkusCookie(package private) classQuarkusRequestWrapper.ResponseWrapper
-
Field Summary
Fields Modifier and Type Field Description static StringFAKE_COOKIE_NAMEHuge 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
-
Constructor Summary
Constructors Constructor Description QuarkusRequestWrapper(io.vertx.core.http.HttpServerRequest event, BiConsumer<io.vertx.core.http.Cookie,io.vertx.core.http.HttpServerRequest> cookieConsumer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRequestDoneHandler(io.vertx.core.Handler<Void> handler)Set<io.vertx.core.http.Cookie>cookies(String name)(package private) voiddone()io.vertx.core.http.HttpServerRequestexceptionHandler(io.vertx.core.Handler<Throwable> handler)static QuarkusRequestWrapperget(io.vertx.core.http.HttpServerRequest request)io.vertx.core.http.CookiegetCookie(String name)io.vertx.core.http.CookiegetCookie(String name, String domain, String path)io.vertx.core.http.HttpServerResponseresponse()-
Methods inherited from class io.vertx.core.http.impl.HttpServerRequestWrapper
absoluteURI, authority, body, body, bodyHandler, bytesRead, connection, context, cookieCount, cookieMap, cookies, customFrameHandler, decoderResult, end, end, endHandler, fetch, formAttributes, getFormAttribute, getHeader, getHeader, getParam, getParam, getParamsCharset, handler, headers, host, isEnded, isExpectMultipart, isSSL, localAddress, method, metric, params, path, pause, peerCertificateChain, pipe, pipeTo, pipeTo, query, remoteAddress, resume, routed, scheme, setExpectMultipart, setParamsCharset, sslSession, streamId, streamPriority, streamPriorityHandler, toNetSocket, toNetSocket, toWebSocket, toWebSocket, uploadHandler, uri, version
-
-
-
-
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
-
get
public static QuarkusRequestWrapper get(io.vertx.core.http.HttpServerRequest request)
-
addRequestDoneHandler
public void addRequestDoneHandler(io.vertx.core.Handler<Void> handler)
-
response
public io.vertx.core.http.HttpServerResponse response()
- Specified by:
responsein interfaceio.vertx.core.http.HttpServerRequest- Overrides:
responsein classio.vertx.core.http.impl.HttpServerRequestWrapper
-
done
void done()
-
exceptionHandler
public io.vertx.core.http.HttpServerRequest exceptionHandler(io.vertx.core.Handler<Throwable> handler)
- Specified by:
exceptionHandlerin interfaceio.vertx.core.http.HttpServerRequest- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>- Specified by:
exceptionHandlerin interfaceio.vertx.core.streams.StreamBase- Overrides:
exceptionHandlerin classio.vertx.core.http.impl.HttpServerRequestWrapper
-
getCookie
public io.vertx.core.http.Cookie getCookie(String name)
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getCookiein classio.vertx.core.http.impl.HttpServerRequestWrapper
-
getCookie
public io.vertx.core.http.Cookie getCookie(String name, String domain, String path)
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getCookiein classio.vertx.core.http.impl.HttpServerRequestWrapper
-
-