public enum CommunicationMode extends Enum<CommunicationMode>
| Enum Constant and Description |
|---|
FIRE_AND_FORGET
Corresponds to
Mono<Void> action(REQ). |
REQUEST_CHANNEL
Corresponds to
Flux<RESP> action(Flux<REQ>). |
REQUEST_RESPONSE
Corresponds to
Mono<RESP> action(REQ). |
REQUEST_STREAM
Corresponds to
Flux<RESP> action(REQ). |
| Modifier and Type | Method and Description |
|---|---|
static CommunicationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommunicationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommunicationMode FIRE_AND_FORGET
Mono<Void> action(REQ).public static final CommunicationMode REQUEST_RESPONSE
Mono<RESP> action(REQ).public static final CommunicationMode REQUEST_STREAM
Flux<RESP> action(REQ).public static final CommunicationMode REQUEST_CHANNEL
Flux<RESP> action(Flux<REQ>).public static CommunicationMode[] values()
for (CommunicationMode c : CommunicationMode.values()) System.out.println(c);
public static CommunicationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2021. All rights reserved.