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 ClassesModifier and TypeClassDescriptionclass(package private) class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringHuge hack, to work around the fact that there is no way to directly access this class once it is wrapped, we use a fake cookieFields inherited from class io.vertx.core.http.impl.HttpServerRequestWrapper
delegateFields inherited from interface io.vertx.core.http.HttpServerRequest
DEFAULT_INVALID_REQUEST_HANDLER -
Constructor Summary
ConstructorsConstructorDescriptionQuarkusRequestWrapper(io.vertx.core.http.HttpServerRequest event, BiConsumer<io.vertx.core.http.Cookie, io.vertx.core.http.HttpServerRequest> cookieConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequestDoneHandler(io.vertx.core.Handler<Void> handler) Set<io.vertx.core.http.Cookie> (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.Cookieio.vertx.core.http.Cookieio.vertx.core.http.HttpServerResponseresponse()Methods inherited from class io.vertx.core.http.impl.HttpServerRequestWrapper
absoluteURI, authority, authority, body, bytesRead, connection, context, cookies, customFrameHandler, decoderResult, end, endHandler, fetch, formAttributes, getFormAttribute, getParamsCharset, handler, headers, host, isEnded, isExpectMultipart, isValidAuthority, method, metric, params, path, pause, peerCertificateChain, query, resume, routed, scheme, setExpectMultipart, setParamsCharset, streamId, streamPriority, streamPriorityHandler, toNetSocket, toWebSocket, uploadHandler, uri, versionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.http.HttpServerRequest
body, bodyHandler, cookieCount, cookieMap, end, getHeader, getHeader, getParam, getParam, isSSL, localAddress, params, remoteAddress, sslSession, toNetSocket, toWebSocketMethods inherited from interface io.vertx.core.streams.ReadStream
collect, pipe, pipeTo, pipeTo
-
Field Details
-
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:
-
-
Constructor Details
-
QuarkusRequestWrapper
public QuarkusRequestWrapper(io.vertx.core.http.HttpServerRequest event, BiConsumer<io.vertx.core.http.Cookie, io.vertx.core.http.HttpServerRequest> cookieConsumer)
-
-
Method Details
-
get
-
addRequestDoneHandler
-
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
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getCookiein classio.vertx.core.http.impl.HttpServerRequestWrapper
-
getCookie
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest- Overrides:
getCookiein classio.vertx.core.http.impl.HttpServerRequestWrapper
-
cookies
- Specified by:
cookiesin interfaceio.vertx.core.http.HttpServerRequest- Overrides:
cookiesin classio.vertx.core.http.impl.HttpServerRequestWrapper
-