Class ValueControllerImpl
- java.lang.Object
-
- org.bremersee.apiclient.webflux.app.ValueControllerImpl
-
- All Implemented Interfaces:
ValueController
@RestController public class ValueControllerImpl extends Object implements ValueController
The value controller implementation.- Author:
- Christian Bremer
-
-
Field Summary
-
Fields inherited from interface org.bremersee.apiclient.webflux.app.ValueController
JSON_VALUES, STRING_VALUE
-
-
Constructor Summary
Constructors Constructor Description ValueControllerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Boolean>
deleteValue(String name)
Delete value mono.reactor.core.publisher.Flux<Map<String,Object>>
getJsonValues()
Gets json values.org.reactivestreams.Publisher<String>
getStringValue()
Gets string value.reactor.core.publisher.Mono<Void>
patchStringValue(String name, String suffix, String payload)
Patch string value mono.reactor.core.publisher.Mono<Map<String,Object>>
postValue(String name, org.springframework.util.MultiValueMap<String,String> headers, String cookie, Map<String,Object> requestParams, Map<String,Object> payload)
Post value mono.reactor.core.publisher.Mono<String>
putStringValue(String name, String payload)
Put string value mono.
-
-
-
Method Detail
-
getStringValue
public org.reactivestreams.Publisher<String> getStringValue()
Description copied from interface:ValueController
Gets string value.- Specified by:
getStringValue
in interfaceValueController
- Returns:
- the string value
-
getJsonValues
public reactor.core.publisher.Flux<Map<String,Object>> getJsonValues()
Description copied from interface:ValueController
Gets json values.- Specified by:
getJsonValues
in interfaceValueController
- Returns:
- the json values
-
putStringValue
public reactor.core.publisher.Mono<String> putStringValue(String name, String payload)
Description copied from interface:ValueController
Put string value mono.- Specified by:
putStringValue
in interfaceValueController
- Parameters:
name
- the namepayload
- the payload- Returns:
- the mono
-
patchStringValue
public reactor.core.publisher.Mono<Void> patchStringValue(String name, String suffix, String payload)
Description copied from interface:ValueController
Patch string value mono.- Specified by:
patchStringValue
in interfaceValueController
- Parameters:
name
- the namesuffix
- the suffixpayload
- the payload- Returns:
- the mono
-
postValue
public reactor.core.publisher.Mono<Map<String,Object>> postValue(String name, org.springframework.util.MultiValueMap<String,String> headers, String cookie, Map<String,Object> requestParams, Map<String,Object> payload)
Description copied from interface:ValueController
Post value mono.- Specified by:
postValue
in interfaceValueController
- Parameters:
name
- the nameheaders
- the headerscookie
- the cookierequestParams
- the request paramspayload
- the payload- Returns:
- the mono
-
deleteValue
public reactor.core.publisher.Mono<Boolean> deleteValue(String name)
Description copied from interface:ValueController
Delete value mono.- Specified by:
deleteValue
in interfaceValueController
- Parameters:
name
- the name- Returns:
- the mono
-
-