public class RequestObject
extends java.lang.Object
implements io.vertx.core.http.HttpServerRequest
Modifier and Type | Class and Description |
---|---|
static class |
RequestObject.HttpMethod |
Constructor and Description |
---|
RequestObject(RequestObject.HttpMethod method,
java.util.Map<java.lang.String,java.lang.String> reqHeaders,
java.lang.String base,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> queryParams) |
RequestObject(RequestObject.HttpMethod method,
java.util.Map<java.lang.String,java.lang.String> reqHeaders,
java.lang.String base,
java.lang.String path,
java.lang.String query) |
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() |
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() |
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() |
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.HttpServerRequest |
streamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler) |
void |
trigger(byte[] bs) |
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 RequestObject(RequestObject.HttpMethod method, java.util.Map<java.lang.String,java.lang.String> reqHeaders, java.lang.String base, java.lang.String path, java.util.Map<java.lang.String,java.lang.String> queryParams)
public RequestObject(RequestObject.HttpMethod method, java.util.Map<java.lang.String,java.lang.String> reqHeaders, java.lang.String base, java.lang.String path, java.lang.String query)
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 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 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.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 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 io.vertx.core.net.SocketAddress localAddress()
localAddress
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 void trigger(byte[] bs)
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 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 java.lang.String getParam(java.lang.String paramName)
getParam
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.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.