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
  • 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:
      exceptionHandler in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      exceptionHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
      Specified by:
      exceptionHandler in interface io.vertx.core.streams.StreamBase
    • handler

      public io.vertx.core.http.HttpServerRequest handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler)
      Specified by:
      handler in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      handler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
    • pause

      public io.vertx.core.http.HttpServerRequest pause()
      Specified by:
      pause in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      pause in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
    • resume

      public io.vertx.core.http.HttpServerRequest resume()
      Specified by:
      resume in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      resume in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
    • fetch

      public io.vertx.core.http.HttpServerRequest fetch(long amount)
      Specified by:
      fetch in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      fetch in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
    • endHandler

      public io.vertx.core.http.HttpServerRequest endHandler(io.vertx.core.Handler<Void> endHandler)
      Specified by:
      endHandler in interface io.vertx.core.http.HttpServerRequest
      Specified by:
      endHandler in interface io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
    • version

      public io.vertx.core.http.HttpVersion version()
      Specified by:
      version in interface io.vertx.core.http.HttpServerRequest
    • method

      public io.vertx.core.http.HttpMethod method()
      Specified by:
      method in interface io.vertx.core.http.HttpServerRequest
    • isSSL

      public boolean isSSL()
      Specified by:
      isSSL in interface io.vertx.core.http.HttpServerRequest
    • scheme

      public String scheme()
      Specified by:
      scheme in interface io.vertx.core.http.HttpServerRequest
    • uri

      public String uri()
      Specified by:
      uri in interface io.vertx.core.http.HttpServerRequest
    • path

      public String path()
      Specified by:
      path in interface io.vertx.core.http.HttpServerRequest
    • query

      public String query()
      Specified by:
      query in interface io.vertx.core.http.HttpServerRequest
    • host

      public String host()
      Specified by:
      host in interface io.vertx.core.http.HttpServerRequest
    • bytesRead

      public long bytesRead()
      Specified by:
      bytesRead in interface io.vertx.core.http.HttpServerRequest
    • response

      public io.vertx.core.http.HttpServerResponse response()
      Specified by:
      response in interface io.vertx.core.http.HttpServerRequest
    • headers

      public io.vertx.core.MultiMap headers()
      Specified by:
      headers in interface io.vertx.core.http.HttpServerRequest
    • getHeader

      public String getHeader(String headerName)
      Specified by:
      getHeader in interface io.vertx.core.http.HttpServerRequest
    • getHeader

      public String getHeader(CharSequence headerName)
      Specified by:
      getHeader in interface io.vertx.core.http.HttpServerRequest
    • setParamsCharset

      public io.vertx.core.http.HttpServerRequest setParamsCharset(String charset)
      Specified by:
      setParamsCharset in interface io.vertx.core.http.HttpServerRequest
    • getParamsCharset

      public String getParamsCharset()
      Specified by:
      getParamsCharset in interface io.vertx.core.http.HttpServerRequest
    • params

      public io.vertx.core.MultiMap params()
      Specified by:
      params in interface io.vertx.core.http.HttpServerRequest
    • getParam

      public String getParam(String paramName)
      Specified by:
      getParam in interface io.vertx.core.http.HttpServerRequest
    • remoteAddress

      public io.vertx.core.net.SocketAddress remoteAddress()
      Specified by:
      remoteAddress in interface io.vertx.core.http.HttpServerRequest
    • localAddress

      public io.vertx.core.net.SocketAddress localAddress()
      Specified by:
      localAddress in interface io.vertx.core.http.HttpServerRequest
    • sslSession

      public SSLSession sslSession()
      Specified by:
      sslSession in interface io.vertx.core.http.HttpServerRequest
    • peerCertificateChain

      public X509Certificate[] peerCertificateChain() throws SSLPeerUnverifiedException
      Specified by:
      peerCertificateChain in interface io.vertx.core.http.HttpServerRequest
      Throws:
      SSLPeerUnverifiedException
    • absoluteURI

      public String absoluteURI()
      Specified by:
      absoluteURI in interface io.vertx.core.http.HttpServerRequest
    • body

      public io.vertx.core.Future<io.vertx.core.buffer.Buffer> body()
      Specified by:
      body in interface io.vertx.core.http.HttpServerRequest
    • end

      public io.vertx.core.Future<Void> end()
      Specified by:
      end in interface io.vertx.core.http.HttpServerRequest
    • toNetSocket

      public io.vertx.core.Future<io.vertx.core.net.NetSocket> toNetSocket()
      Specified by:
      toNetSocket in interface io.vertx.core.http.HttpServerRequest
    • setExpectMultipart

      public io.vertx.core.http.HttpServerRequest setExpectMultipart(boolean expect)
      Specified by:
      setExpectMultipart in interface io.vertx.core.http.HttpServerRequest
    • isExpectMultipart

      public boolean isExpectMultipart()
      Specified by:
      isExpectMultipart in interface io.vertx.core.http.HttpServerRequest
    • uploadHandler

      public io.vertx.core.http.HttpServerRequest uploadHandler(io.vertx.core.Handler<io.vertx.core.http.HttpServerFileUpload> uploadHandler)
      Specified by:
      uploadHandler in interface io.vertx.core.http.HttpServerRequest
    • formAttributes

      public io.vertx.core.MultiMap formAttributes()
      Specified by:
      formAttributes in interface io.vertx.core.http.HttpServerRequest
    • getFormAttribute

      public String getFormAttribute(String attributeName)
      Specified by:
      getFormAttribute in interface io.vertx.core.http.HttpServerRequest
    • toWebSocket

      public io.vertx.core.Future<io.vertx.core.http.ServerWebSocket> toWebSocket()
      Specified by:
      toWebSocket in interface io.vertx.core.http.HttpServerRequest
    • isEnded

      public boolean isEnded()
      Specified by:
      isEnded in interface io.vertx.core.http.HttpServerRequest
    • customFrameHandler

      public io.vertx.core.http.HttpServerRequest customFrameHandler(io.vertx.core.Handler<io.vertx.core.http.HttpFrame> handler)
      Specified by:
      customFrameHandler in interface io.vertx.core.http.HttpServerRequest
    • connection

      public io.vertx.core.http.HttpConnection connection()
      Specified by:
      connection in interface io.vertx.core.http.HttpServerRequest
    • streamPriorityHandler

      public io.vertx.core.http.HttpServerRequest streamPriorityHandler(io.vertx.core.Handler<io.vertx.core.http.StreamPriority> handler)
      Specified by:
      streamPriorityHandler in interface io.vertx.core.http.HttpServerRequest
    • getCookie

      public io.vertx.core.http.Cookie getCookie(String name)
      Specified by:
      getCookie in interface io.vertx.core.http.HttpServerRequest
    • cookieCount

      public int cookieCount()
      Specified by:
      cookieCount in interface io.vertx.core.http.HttpServerRequest
    • cookieMap

      public Map<String,io.vertx.core.http.Cookie> cookieMap()
      Specified by:
      cookieMap in interface io.vertx.core.http.HttpServerRequest
    • getCookie

      public io.vertx.core.http.Cookie getCookie(String name, String domain, String path)
      Specified by:
      getCookie in interface io.vertx.core.http.HttpServerRequest
    • cookies

      public Set<io.vertx.core.http.Cookie> cookies(String name)
      Specified by:
      cookies in interface io.vertx.core.http.HttpServerRequest
    • cookies

      public Set<io.vertx.core.http.Cookie> cookies()
      Specified by:
      cookies in interface io.vertx.core.http.HttpServerRequest
    • getParam

      public String getParam(String paramName, String defaultValue)
      Specified by:
      getParam in interface io.vertx.core.http.HttpServerRequest
    • bodyHandler

      public io.vertx.core.http.HttpServerRequest bodyHandler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer> bodyHandler)
      Specified by:
      bodyHandler in interface io.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:
      body in interface io.vertx.core.http.HttpServerRequest
    • end

      public void end(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
      Specified by:
      end in interface io.vertx.core.http.HttpServerRequest
    • toNetSocket

      public void toNetSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.net.NetSocket>> handler)
      Specified by:
      toNetSocket in interface io.vertx.core.http.HttpServerRequest
    • streamId

      public int streamId()
      Specified by:
      streamId in interface io.vertx.core.http.HttpServerRequest
    • toWebSocket

      public void toWebSocket(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.http.ServerWebSocket>> handler)
      Specified by:
      toWebSocket in interface io.vertx.core.http.HttpServerRequest
    • streamPriority

      public io.vertx.core.http.StreamPriority streamPriority()
      Specified by:
      streamPriority in interface io.vertx.core.http.HttpServerRequest
    • decoderResult

      public io.netty.handler.codec.DecoderResult decoderResult()
      Specified by:
      decoderResult in interface io.vertx.core.http.HttpServerRequest
    • routed

      public io.vertx.core.http.HttpServerRequest routed(String route)
      Specified by:
      routed in interface io.vertx.core.http.HttpServerRequest
    • context

      public io.vertx.core.Context context()
      Specified by:
      context in class io.vertx.core.http.impl.HttpServerRequestInternal
    • metric

      public Object metric()
      Specified by:
      metric in class io.vertx.core.http.impl.HttpServerRequestInternal
    • authority

      public io.vertx.core.net.HostAndPort authority()
      Specified by:
      authority in interface io.vertx.core.http.HttpServerRequest
    • params

      public io.vertx.core.MultiMap params(boolean semicolonIsNormalChar)
      Specified by:
      params in interface io.vertx.core.http.HttpServerRequest