public abstract class AbstractRequestWrapper extends Object implements io.vertx.core.http.HttpServerRequest
Modifier and Type | Field and Description |
---|---|
protected io.vertx.core.http.HttpServerRequest |
delegate |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRequestWrapper(io.vertx.core.http.HttpServerRequest request) |
Modifier and Type | Method and Description |
---|---|
String |
absoluteURI() |
io.vertx.core.http.HttpServerRequest |
bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
long |
bytesRead() |
io.vertx.core.http.HttpConnection |
connection() |
int |
cookieCount() |
Map<String,io.vertx.core.http.Cookie> |
cookieMap() |
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<Void> handler) |
io.vertx.core.http.HttpServerRequest |
exceptionHandler(io.vertx.core.Handler<Throwable> handler) |
io.vertx.core.http.HttpServerRequest |
fetch(long amount) |
io.vertx.core.MultiMap |
formAttributes() |
io.vertx.core.http.Cookie |
getCookie(String name) |
String |
getFormAttribute(String s) |
String |
getHeader(CharSequence charSequence) |
String |
getHeader(String s) |
String |
getParam(String s) |
io.vertx.core.http.HttpServerRequest |
handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) |
io.vertx.core.MultiMap |
headers() |
String |
host() |
boolean |
isEnded() |
boolean |
isExpectMultipart() |
boolean |
isSSL() |
io.vertx.core.net.SocketAddress |
localAddress() |
io.vertx.core.http.HttpMethod |
method() |
io.vertx.core.net.NetSocket |
netSocket() |
io.vertx.core.MultiMap |
params() |
String |
path() |
io.vertx.core.http.HttpServerRequest |
pause() |
X509Certificate[] |
peerCertificateChain() |
String |
query() |
String |
rawMethod() |
io.vertx.core.net.SocketAddress |
remoteAddress() |
io.vertx.core.http.HttpServerResponse |
response() |
io.vertx.core.http.HttpServerRequest |
resume() |
String |
scheme() |
io.vertx.core.http.HttpServerRequest |
setExpectMultipart(boolean b) |
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> handler) |
String |
uri() |
io.vertx.core.http.HttpVersion |
version() |
protected AbstractRequestWrapper(io.vertx.core.http.HttpServerRequest request)
public long bytesRead()
bytesRead
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest exceptionHandler(io.vertx.core.Handler<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 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 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 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.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.HttpServerRequest endHandler(io.vertx.core.Handler<Void> handler)
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.HttpVersion version()
version
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpMethod method()
method
in interface io.vertx.core.http.HttpServerRequest
public String rawMethod()
rawMethod
in interface io.vertx.core.http.HttpServerRequest
public String uri()
uri
in interface io.vertx.core.http.HttpServerRequest
public String path()
path
in interface io.vertx.core.http.HttpServerRequest
public 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 String getHeader(String s)
getHeader
in interface io.vertx.core.http.HttpServerRequest
public String getHeader(CharSequence charSequence)
getHeader
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.MultiMap params()
params
in interface io.vertx.core.http.HttpServerRequest
public String getParam(String s)
getParam
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.net.SocketAddress remoteAddress()
remoteAddress
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.net.SocketAddress localAddress()
localAddress
in interface io.vertx.core.http.HttpServerRequest
public X509Certificate[] peerCertificateChain() throws SSLPeerUnverifiedException
peerCertificateChain
in interface io.vertx.core.http.HttpServerRequest
SSLPeerUnverifiedException
public SSLSession sslSession()
sslSession
in interface io.vertx.core.http.HttpServerRequest
public String absoluteURI()
absoluteURI
in interface io.vertx.core.http.HttpServerRequest
public String scheme()
scheme
in interface io.vertx.core.http.HttpServerRequest
public String host()
host
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.HttpServerRequest bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
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 setExpectMultipart(boolean b)
setExpectMultipart
in interface io.vertx.core.http.HttpServerRequest
public boolean isExpectMultipart()
isExpectMultipart
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.HttpServerRequest uploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> handler)
uploadHandler
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.MultiMap formAttributes()
formAttributes
in interface io.vertx.core.http.HttpServerRequest
public String getFormAttribute(String s)
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 boolean isSSL()
isSSL
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.StreamPriority streamPriority()
streamPriority
in interface io.vertx.core.http.HttpServerRequest
public io.vertx.core.http.Cookie getCookie(String name)
getCookie
in interface io.vertx.core.http.HttpServerRequest
public int cookieCount()
cookieCount
in interface io.vertx.core.http.HttpServerRequest
Copyright © 2020 JBoss by Red Hat. All rights reserved.