Class IncomingHttpMetadata
- java.lang.Object
-
- io.quarkus.reactivemessaging.http.runtime.RequestMetadata
-
- io.quarkus.reactivemessaging.http.runtime.IncomingHttpMetadata
-
- All Implemented Interfaces:
PathMetadata
public class IncomingHttpMetadata extends RequestMetadata
Metadata for Http Source. Provides a way to get headers, method and path from a http 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()-
Methods inherited from class io.quarkus.reactivemessaging.http.runtime.RequestMetadata
getConfiguredPath, getInvokedPath, getPathParams, getQueryParams
-
-
-
-
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()
-
-