public class WrappedRequest
extends java.lang.Object
implements io.vertx.core.http.HttpServerRequest
Modifier and Type | Method and Description |
---|---|
java.lang.String |
absoluteURI() |
io.vertx.core.http.HttpServerRequest |
bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> bodyHandler) |
long |
bytesRead() |
io.vertx.core.http.HttpConnection |
connection() |
int |
cookieCount() |
java.util.Map<java.lang.String,io.vertx.core.http.Cookie> |
cookieMap() |
static io.vertx.core.http.HttpServerRequest |
create(com.netflix.spectator.api.Registry registry,
IdFactory idfactory,
io.vertx.core.http.HttpServerRequest req) |
io.vertx.core.http.HttpServerRequest |
customFrameHandler(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler) |
io.vertx.core.http.HttpServerRequest |
endHandler(io.vertx.core.Handler<java.lang.Void> endHandler) |
io.vertx.core.http.HttpServerRequest |
exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler) |
io.vertx.core.http.HttpServerRequest |
fetch(long amount) |
io.vertx.core.MultiMap |
formAttributes() |
io.vertx.core.http.Cookie |
getCookie(java.lang.String name) |
java.lang.String |
getFormAttribute(java.lang.String attributeName) |
java.lang.String |
getHeader(java.lang.CharSequence headerName) |
java.lang.String |
getHeader(java.lang.String headerName) |
java.lang.String |
getParam(java.lang.String paramName) |
io.vertx.core.http.HttpServerRequest |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
io.vertx.core.MultiMap |
headers() |
java.lang.String |
host() |
boolean |
isEnded() |
boolean |
isExpectMultipart() |
boolean |
isSSL() |
io.vertx.core.net.SocketAddress |
localAddress() |
java.lang.String |
logAttribute(java.lang.String k) |
io.vertx.core.http.HttpMethod |
method() |
io.vertx.core.net.NetSocket |
netSocket() |
io.vertx.core.MultiMap |
params() |
java.lang.String |
path() |
io.vertx.core.http.HttpServerRequest |
pause() |
javax.security.cert.X509Certificate[] |
peerCertificateChain() |
io.vertx.core.streams.Pipe<io.vertx.core.buffer.Buffer> |
pipe() |
void |
pipeTo(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> dst) |
void |
pipeTo(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> dst,
io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler) |
void |
putLogAttribute(java.lang.String k,
java.lang.String v) |
java.lang.String |
query() |
java.lang.String |
rawMethod() |
io.vertx.core.net.SocketAddress |
remoteAddress() |
io.vertx.core.http.HttpServerResponse |
response() |
io.vertx.core.http.HttpServerRequest |
resume() |
java.lang.String |
scheme() |
io.vertx.core.http.HttpServerRequest |
setExpectMultipart(boolean expect) |
javax.net.ssl.SSLSession |
sslSession() |
io.vertx.core.http.StreamPriority |
streamPriority() |
io.vertx.core.http.HttpServerRequest |
streamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler) |
io.vertx.core.http.ServerWebSocket |
upgrade() |
io.vertx.core.http.HttpServerRequest |
uploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> uploadHandler) |
java.lang.String |
uri() |
io.vertx.core.http.HttpVersion |
version() |
public java.lang.String logAttribute(java.lang.String k)
public void putLogAttribute(java.lang.String k, java.lang.String v)
public static io.vertx.core.http.HttpServerRequest create(com.netflix.spectator.api.Registry registry, IdFactory idfactory, io.vertx.core.http.HttpServerRequest req)
public io.vertx.core.http.HttpServerRequest exceptionHandler(io.vertx.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface io.vertx.core.http.HttpServerRequest
exceptionHandler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
exceptionHandler
in interface io.vertx.core.streams.StreamBase
public io.vertx.core.http.HttpServerRequest pause()
pause
in interface io.vertx.core.http.HttpServerRequest
pause
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.http.HttpServerRequest endHandler(io.vertx.core.Handler<java.lang.Void> endHandler)
endHandler
in interface io.vertx.core.http.HttpServerRequest
endHandler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.http.HttpServerRequest resume()
resume
in interface io.vertx.core.http.HttpServerRequest
resume
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.http.HttpVersion version()
version
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String uri()
uri
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String path()
path
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String query()
query
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerResponse response()
response
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.MultiMap headers()
headers
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.MultiMap params()
params
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.net.SocketAddress remoteAddress()
remoteAddress
in interface io.vertx.core.http.HttpServerRequest
public javax.security.cert.X509Certificate[] peerCertificateChain() throws javax.net.ssl.SSLPeerUnverifiedException
peerCertificateChain
in interface io.vertx.core.http.HttpServerRequest
javax.net.ssl.SSLPeerUnverifiedException
public io.vertx.core.http.HttpServerRequest bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> bodyHandler)
bodyHandler
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.net.NetSocket netSocket()
netSocket
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest uploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> uploadHandler)
uploadHandler
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.MultiMap formAttributes()
formAttributes
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
handler
in interface io.vertx.core.http.HttpServerRequest
handler
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.http.HttpServerRequest fetch(long amount)
fetch
in interface io.vertx.core.http.HttpServerRequest
fetch
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.http.HttpMethod method()
method
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String rawMethod()
rawMethod
in interface io.vertx.core.http.HttpServerRequest
public boolean isSSL()
isSSL
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String scheme()
scheme
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String host()
host
in interface io.vertx.core.http.HttpServerRequest
public long bytesRead()
bytesRead
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String getHeader(java.lang.String headerName)
getHeader
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String getHeader(java.lang.CharSequence headerName)
getHeader
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.streams.Pipe<io.vertx.core.buffer.Buffer> pipe()
pipe
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public java.lang.String getParam(java.lang.String paramName)
getParam
in interface io.vertx.core.http.HttpServerRequest
public void pipeTo(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> dst)
pipeTo
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public void pipeTo(io.vertx.core.streams.WriteStream<io.vertx.core.buffer.Buffer> dst, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>> handler)
pipeTo
in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
public io.vertx.core.net.SocketAddress localAddress()
localAddress
in interface io.vertx.core.http.HttpServerRequest
public javax.net.ssl.SSLSession sslSession()
sslSession
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String absoluteURI()
absoluteURI
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest setExpectMultipart(boolean expect)
setExpectMultipart
in interface io.vertx.core.http.HttpServerRequest
public boolean isExpectMultipart()
isExpectMultipart
in interface io.vertx.core.http.HttpServerRequest
public java.lang.String getFormAttribute(java.lang.String attributeName)
getFormAttribute
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.ServerWebSocket upgrade()
upgrade
in interface io.vertx.core.http.HttpServerRequest
public boolean isEnded()
isEnded
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest customFrameHandler(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler)
customFrameHandler
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpConnection connection()
connection
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.StreamPriority streamPriority()
streamPriority
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest streamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler)
streamPriorityHandler
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.Cookie getCookie(java.lang.String name)
getCookie
in interface io.vertx.core.http.HttpServerRequest
public int cookieCount()
cookieCount
in interface io.vertx.core.http.HttpServerRequest
public java.util.Map<java.lang.String,io.vertx.core.http.Cookie> cookieMap()
cookieMap
in interface io.vertx.core.http.HttpServerRequest
Copyright © 2021. All Rights Reserved.