Class IncomingHttpMetadata
- java.lang.Object
-
- io.quarkus.reactivemessaging.http.runtime.IncomingHttpMetadata
-
public class IncomingHttpMetadata extends Object
Metadata for Http Source. Provides a way to get headers, method and path from a http request
-
-
Constructor Summary
Constructors Constructor Description IncomingHttpMetadata(io.vertx.core.http.HttpServerRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.MultiMapgetHeaders()headers of the requestio.vertx.core.http.HttpMethodgetMethod()http method of the requestStringgetPath()path of the requestio.vertx.core.http.HttpServerRequestunwrap()
-
-
-
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()
-
-