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 String
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 cookieFields inherited from class io.vertx.core.http.impl.HttpServerRequestWrapper
delegate
Fields 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 TypeMethodDescriptionvoid
addRequestDoneHandler
(io.vertx.core.Handler<Void> handler) Set<io.vertx.core.http.Cookie>
(package private) void
done()
io.vertx.core.http.HttpServerRequest
exceptionHandler
(io.vertx.core.Handler<Throwable> handler) static QuarkusRequestWrapper
get
(io.vertx.core.http.HttpServerRequest request) io.vertx.core.http.Cookie
io.vertx.core.http.Cookie
io.vertx.core.http.HttpServerResponse
response()
Methods inherited from class io.vertx.core.http.impl.HttpServerRequestWrapper
absoluteURI, authority, body, bytesRead, connection, context, cookies, customFrameHandler, decoderResult, end, endHandler, fetch, formAttributes, getFormAttribute, getParamsCharset, handler, headers, host, isEnded, isExpectMultipart, method, metric, params, path, pause, peerCertificateChain, query, resume, routed, scheme, setExpectMultipart, setParamsCharset, streamId, streamPriority, streamPriorityHandler, toNetSocket, toWebSocket, uploadHandler, uri, version
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vertx.core.http.HttpServerRequest
body, bodyHandler, cookieCount, cookieMap, end, getHeader, getHeader, getParam, getParam, isSSL, localAddress, remoteAddress, sslSession, toNetSocket, toWebSocket
Methods inherited from interface io.vertx.core.streams.ReadStream
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:
response
in interfaceio.vertx.core.http.HttpServerRequest
- Overrides:
response
in 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:
exceptionHandler
in interfaceio.vertx.core.http.HttpServerRequest
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
- Specified by:
exceptionHandler
in interfaceio.vertx.core.streams.StreamBase
- Overrides:
exceptionHandler
in classio.vertx.core.http.impl.HttpServerRequestWrapper
-
getCookie
- Specified by:
getCookie
in interfaceio.vertx.core.http.HttpServerRequest
- Overrides:
getCookie
in classio.vertx.core.http.impl.HttpServerRequestWrapper
-
getCookie
- Specified by:
getCookie
in interfaceio.vertx.core.http.HttpServerRequest
- Overrides:
getCookie
in classio.vertx.core.http.impl.HttpServerRequestWrapper
-
cookies
- Specified by:
cookies
in interfaceio.vertx.core.http.HttpServerRequest
- Overrides:
cookies
in classio.vertx.core.http.impl.HttpServerRequestWrapper
-