Package io.undertow.vertx
Class PushedHttpServerRequest
java.lang.Object
io.vertx.core.http.impl.HttpServerRequestInternal
io.undertow.vertx.PushedHttpServerRequest
- 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 PushedHttpServerRequest
extends io.vertx.core.http.impl.HttpServerRequestInternal
implements io.vertx.core.http.HttpServerRequest
-
Field Summary
Fields inherited from interface io.vertx.core.http.HttpServerRequest
DEFAULT_INVALID_REQUEST_HANDLER -
Constructor Summary
ConstructorsConstructorDescriptionPushedHttpServerRequest(io.vertx.core.http.HttpServerRequest original, io.vertx.core.http.HttpMethod method, String uri, io.vertx.core.http.HttpServerResponse response, io.vertx.core.MultiMap headers) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.net.HostAndPortio.vertx.core.Future<io.vertx.core.buffer.Buffer>body()io.vertx.core.http.HttpServerRequestbody(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler) io.vertx.core.http.HttpServerRequestbodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> bodyHandler) longio.vertx.core.http.HttpConnectionio.vertx.core.Contextcontext()intSet<io.vertx.core.http.Cookie>cookies()Set<io.vertx.core.http.Cookie>io.vertx.core.http.HttpServerRequestcustomFrameHandler(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler) io.netty.handler.codec.DecoderResultio.vertx.core.Future<Void>end()voidio.vertx.core.http.HttpServerRequestendHandler(io.vertx.core.Handler<Void> endHandler) io.vertx.core.http.HttpServerRequestexceptionHandler(io.vertx.core.Handler<Throwable> handler) io.vertx.core.http.HttpServerRequestfetch(long amount) io.vertx.core.MultiMapio.vertx.core.http.Cookieio.vertx.core.http.CookiegetFormAttribute(String attributeName) getHeader(CharSequence headerName) io.vertx.core.http.HttpServerRequesthandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) io.vertx.core.MultiMapheaders()host()booleanisEnded()booleanbooleanisSSL()io.vertx.core.net.SocketAddressio.vertx.core.http.HttpMethodmethod()metric()io.vertx.core.MultiMapparams()io.vertx.core.MultiMapparams(boolean semicolonIsNormalChar) path()io.vertx.core.http.HttpServerRequestpause()query()io.vertx.core.net.SocketAddressio.vertx.core.http.HttpServerResponseresponse()io.vertx.core.http.HttpServerRequestresume()io.vertx.core.http.HttpServerRequestscheme()io.vertx.core.http.HttpServerRequestsetExpectMultipart(boolean expect) io.vertx.core.http.HttpServerRequestsetParamsCharset(String charset) intstreamId()io.vertx.core.http.StreamPriorityio.vertx.core.http.HttpServerRequeststreamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler) io.vertx.core.Future<io.vertx.core.net.NetSocket>voidtoNetSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>> handler) io.vertx.core.Future<io.vertx.core.http.ServerWebSocket>voidtoWebSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.ServerWebSocket>> handler) io.vertx.core.http.HttpServerRequestuploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> uploadHandler) uri()io.vertx.core.http.HttpVersionversion()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.core.streams.ReadStream
collect, pipe, pipeTo, pipeTo
-
Constructor Details
-
PushedHttpServerRequest
public PushedHttpServerRequest(io.vertx.core.http.HttpServerRequest original, io.vertx.core.http.HttpMethod method, String uri, io.vertx.core.http.HttpServerResponse response, io.vertx.core.MultiMap headers)
-
-
Method Details
-
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
-
handler
public io.vertx.core.http.HttpServerRequest handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler) - Specified by:
handlerin interfaceio.vertx.core.http.HttpServerRequest- Specified by:
handlerin interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
pause
public io.vertx.core.http.HttpServerRequest pause()- Specified by:
pausein interfaceio.vertx.core.http.HttpServerRequest- Specified by:
pausein interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
resume
public io.vertx.core.http.HttpServerRequest resume()- Specified by:
resumein interfaceio.vertx.core.http.HttpServerRequest- Specified by:
resumein interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
fetch
public io.vertx.core.http.HttpServerRequest fetch(long amount) - Specified by:
fetchin interfaceio.vertx.core.http.HttpServerRequest- Specified by:
fetchin interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
endHandler
- Specified by:
endHandlerin interfaceio.vertx.core.http.HttpServerRequest- Specified by:
endHandlerin interfaceio.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
-
version
public io.vertx.core.http.HttpVersion version()- Specified by:
versionin interfaceio.vertx.core.http.HttpServerRequest
-
method
public io.vertx.core.http.HttpMethod method()- Specified by:
methodin interfaceio.vertx.core.http.HttpServerRequest
-
isSSL
public boolean isSSL()- Specified by:
isSSLin interfaceio.vertx.core.http.HttpServerRequest
-
scheme
- Specified by:
schemein interfaceio.vertx.core.http.HttpServerRequest
-
uri
- Specified by:
uriin interfaceio.vertx.core.http.HttpServerRequest
-
path
- Specified by:
pathin interfaceio.vertx.core.http.HttpServerRequest
-
query
- Specified by:
queryin interfaceio.vertx.core.http.HttpServerRequest
-
host
- Specified by:
hostin interfaceio.vertx.core.http.HttpServerRequest
-
bytesRead
public long bytesRead()- Specified by:
bytesReadin interfaceio.vertx.core.http.HttpServerRequest
-
response
public io.vertx.core.http.HttpServerResponse response()- Specified by:
responsein interfaceio.vertx.core.http.HttpServerRequest
-
headers
public io.vertx.core.MultiMap headers()- Specified by:
headersin interfaceio.vertx.core.http.HttpServerRequest
-
getHeader
- Specified by:
getHeaderin interfaceio.vertx.core.http.HttpServerRequest
-
getHeader
- Specified by:
getHeaderin interfaceio.vertx.core.http.HttpServerRequest
-
setParamsCharset
- Specified by:
setParamsCharsetin interfaceio.vertx.core.http.HttpServerRequest
-
getParamsCharset
- Specified by:
getParamsCharsetin interfaceio.vertx.core.http.HttpServerRequest
-
params
public io.vertx.core.MultiMap params()- Specified by:
paramsin interfaceio.vertx.core.http.HttpServerRequest
-
getParam
- Specified by:
getParamin interfaceio.vertx.core.http.HttpServerRequest
-
remoteAddress
public io.vertx.core.net.SocketAddress remoteAddress()- Specified by:
remoteAddressin interfaceio.vertx.core.http.HttpServerRequest
-
localAddress
public io.vertx.core.net.SocketAddress localAddress()- Specified by:
localAddressin interfaceio.vertx.core.http.HttpServerRequest
-
sslSession
- Specified by:
sslSessionin interfaceio.vertx.core.http.HttpServerRequest
-
peerCertificateChain
- Specified by:
peerCertificateChainin interfaceio.vertx.core.http.HttpServerRequest- Throws:
SSLPeerUnverifiedException
-
absoluteURI
- Specified by:
absoluteURIin interfaceio.vertx.core.http.HttpServerRequest
-
body
public io.vertx.core.Future<io.vertx.core.buffer.Buffer> body()- Specified by:
bodyin interfaceio.vertx.core.http.HttpServerRequest
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerRequest
-
toNetSocket
public io.vertx.core.Future<io.vertx.core.net.NetSocket> toNetSocket()- Specified by:
toNetSocketin interfaceio.vertx.core.http.HttpServerRequest
-
setExpectMultipart
public io.vertx.core.http.HttpServerRequest setExpectMultipart(boolean expect) - Specified by:
setExpectMultipartin interfaceio.vertx.core.http.HttpServerRequest
-
isExpectMultipart
public boolean isExpectMultipart()- Specified by:
isExpectMultipartin interfaceio.vertx.core.http.HttpServerRequest
-
uploadHandler
public io.vertx.core.http.HttpServerRequest uploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> uploadHandler) - Specified by:
uploadHandlerin interfaceio.vertx.core.http.HttpServerRequest
-
formAttributes
public io.vertx.core.MultiMap formAttributes()- Specified by:
formAttributesin interfaceio.vertx.core.http.HttpServerRequest
-
getFormAttribute
- Specified by:
getFormAttributein interfaceio.vertx.core.http.HttpServerRequest
-
toWebSocket
public io.vertx.core.Future<io.vertx.core.http.ServerWebSocket> toWebSocket()- Specified by:
toWebSocketin interfaceio.vertx.core.http.HttpServerRequest
-
isEnded
public boolean isEnded()- Specified by:
isEndedin interfaceio.vertx.core.http.HttpServerRequest
-
customFrameHandler
public io.vertx.core.http.HttpServerRequest customFrameHandler(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler) - Specified by:
customFrameHandlerin interfaceio.vertx.core.http.HttpServerRequest
-
connection
public io.vertx.core.http.HttpConnection connection()- Specified by:
connectionin interfaceio.vertx.core.http.HttpServerRequest
-
streamPriorityHandler
public io.vertx.core.http.HttpServerRequest streamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler) - Specified by:
streamPriorityHandlerin interfaceio.vertx.core.http.HttpServerRequest
-
getCookie
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest
-
cookieCount
public int cookieCount()- Specified by:
cookieCountin interfaceio.vertx.core.http.HttpServerRequest
-
cookieMap
- Specified by:
cookieMapin interfaceio.vertx.core.http.HttpServerRequest
-
getCookie
- Specified by:
getCookiein interfaceio.vertx.core.http.HttpServerRequest
-
cookies
- Specified by:
cookiesin interfaceio.vertx.core.http.HttpServerRequest
-
cookies
- Specified by:
cookiesin interfaceio.vertx.core.http.HttpServerRequest
-
getParam
- Specified by:
getParamin interfaceio.vertx.core.http.HttpServerRequest
-
bodyHandler
public io.vertx.core.http.HttpServerRequest bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> bodyHandler) - Specified by:
bodyHandlerin interfaceio.vertx.core.http.HttpServerRequest
-
body
public io.vertx.core.http.HttpServerRequest body(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.buffer.Buffer>> handler) - Specified by:
bodyin interfaceio.vertx.core.http.HttpServerRequest
-
end
- Specified by:
endin interfaceio.vertx.core.http.HttpServerRequest
-
toNetSocket
public void toNetSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>> handler) - Specified by:
toNetSocketin interfaceio.vertx.core.http.HttpServerRequest
-
streamId
public int streamId()- Specified by:
streamIdin interfaceio.vertx.core.http.HttpServerRequest
-
toWebSocket
public void toWebSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.ServerWebSocket>> handler) - Specified by:
toWebSocketin interfaceio.vertx.core.http.HttpServerRequest
-
streamPriority
public io.vertx.core.http.StreamPriority streamPriority()- Specified by:
streamPriorityin interfaceio.vertx.core.http.HttpServerRequest
-
decoderResult
public io.netty.handler.codec.DecoderResult decoderResult()- Specified by:
decoderResultin interfaceio.vertx.core.http.HttpServerRequest
-
routed
- Specified by:
routedin interfaceio.vertx.core.http.HttpServerRequest
-
context
public io.vertx.core.Context context()- Specified by:
contextin classio.vertx.core.http.impl.HttpServerRequestInternal
-
metric
- Specified by:
metricin classio.vertx.core.http.impl.HttpServerRequestInternal
-
authority
public io.vertx.core.net.HostAndPort authority()- Specified by:
authorityin interfaceio.vertx.core.http.HttpServerRequest
-
params
public io.vertx.core.MultiMap params(boolean semicolonIsNormalChar) - Specified by:
paramsin interfaceio.vertx.core.http.HttpServerRequest
-