Modifier and Type | Class and Description |
---|---|
static class |
HttpMessage.HttpMessageBuilder<T> |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
ack()
Acknowledge this message.
|
static <T> HttpMessage.HttpMessageBuilder<T> |
builder() |
Supplier<CompletionStage<Void>> |
getAck() |
Map<String,List<String>> |
getHeaders() |
Metadata |
getMetadata() |
String |
getMethod() |
T |
getPayload() |
Map<String,List<String>> |
getQuery() |
String |
getUrl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMetadata, getMetadata, getNack, nack, of, of, of, of, of, of, of, of, of, unwrap, withAck, withMetadata, withMetadata, withNack, withPayload
public Supplier<CompletionStage<Void>> getAck()
getAck
in interface Message<T>
CompletionStage
.public static <T> HttpMessage.HttpMessageBuilder<T> builder()
public T getPayload()
getPayload
in interface Message<T>
public String getMethod()
public CompletionStage<Void> ack()
Message
public Metadata getMetadata()
getMetadata
in interface Message<T>
public String getUrl()
Copyright © 2018–2021 SmallRye. All rights reserved.