Class IncomingHttpMetadata


  • public class IncomingHttpMetadata
    extends Object
    Metadata for Http Source. Provides a way to get headers, method and path from a http request
    • Constructor Detail

      • IncomingHttpMetadata

        IncomingHttpMetadata​(io.vertx.core.http.HttpServerRequest request)
    • Method Detail

      • getMethod

        public io.vertx.core.http.HttpMethod getMethod()
        http method of the request
        Returns:
        either POST or PUT
      • getHeaders

        public io.vertx.core.MultiMap getHeaders()
        headers of the request
        Returns:
        a MultiMap of headers
      • getPath

        public String getPath()
        path of the request
        Returns:
        path
      • unwrap

        public io.vertx.core.http.HttpServerRequest unwrap()