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:ValueControllerGets string value.- Specified by:
getStringValuein interfaceValueController- Returns:
- the string value
-
getJsonValues
public reactor.core.publisher.Flux<Map<String,Object>> getJsonValues()
Description copied from interface:ValueControllerGets json values.- Specified by:
getJsonValuesin interfaceValueController- Returns:
- the json values
-
putStringValue
public reactor.core.publisher.Mono<String> putStringValue(String name, String payload)
Description copied from interface:ValueControllerPut string value mono.- Specified by:
putStringValuein 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:ValueControllerPatch string value mono.- Specified by:
patchStringValuein 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:ValueControllerPost value mono.- Specified by:
postValuein 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:ValueControllerDelete value mono.- Specified by:
deleteValuein interfaceValueController- Parameters:
name- the name- Returns:
- the mono
-
-