Class HttpMessage<T>
- java.lang.Object
 - 
- io.smallrye.reactive.messaging.http.HttpMessage<T>
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpMessage.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()Supplier<CompletionStage<Void>>getAck()Map<String,List<String>>getHeaders()MetadatagetMetadata()StringgetMethod()TgetPayload()Map<String,List<String>>getQuery()StringgetUrl()- 
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, getMetadata, getNack, nack, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getAck
public Supplier<CompletionStage<Void>> getAck()
- Specified by:
 getAckin interfaceMessage<T>- Returns:
 - the supplier used to retrieve the acknowledgement 
CompletionStage. 
 
- 
builder
public static <T> HttpMessage.HttpMessageBuilder<T> builder()
 
- 
getPayload
public T getPayload()
- Specified by:
 getPayloadin interfaceMessage<T>- Returns:
 - The payload for this message.
 
 
- 
getMethod
public String getMethod()
 
- 
ack
public CompletionStage<Void> ack()
Description copied from interface:MessageAcknowledge this message. 
- 
getMetadata
public Metadata getMetadata()
- Specified by:
 getMetadatain interfaceMessage<T>- Returns:
 - The set of metadata attached to this message, potentially empty.
 
 
- 
getUrl
public String getUrl()
 
 - 
 
 -