Class HttpMessage<T>
- java.lang.Object
-
- io.smallrye.reactive.messaging.http.HttpMessage<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HttpMessage.HttpMessageBuilder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Void>
ack()
Acknowledge this message.static <T> HttpMessage.HttpMessageBuilder<T>
builder()
Map<String,List<String>>
getHeaders()
Metadata
getMetadata()
String
getMethod()
T
getPayload()
Map<String,List<String>>
getQuery()
String
getUrl()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.reactive.messaging.Message
addMetadata, getAck, getMetadata, getNack, nack, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
-
-
-
-
Method Detail
-
builder
public static <T> HttpMessage.HttpMessageBuilder<T> builder()
-
getPayload
public T getPayload()
- Specified by:
getPayload
in interfaceMessage<T>
- Returns:
- The payload for this message.
-
getMethod
public String getMethod()
-
ack
public CompletionStage<Void> ack()
Description copied from interface:Message
Acknowledge this message.
-
getMetadata
public Metadata getMetadata()
- Specified by:
getMetadata
in interfaceMessage<T>
- Returns:
- The set of metadata attached to this message, potentially empty.
-
getUrl
public String getUrl()
-
-