Class SpectraWebClient
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.gui.data.client.SpectraWebClient
- All Implemented Interfaces:
SpectraClient
-
Constructor Summary
ConstructorDescriptionSpectraWebClient
(org.springframework.web.reactive.function.client.WebClient client) -
Method Summary
Modifier and TypeMethodDescriptiongetFitSpectra
(String eventId) reactor.core.publisher.Flux<SpectraMeasurement>
reactor.core.publisher.Flux<SpectraMeasurement>
reactor.core.publisher.Flux<SpectraMeasurement>
reactor.core.publisher.Mono<Spectra>
getReferenceSpectra
(String eventId) reactor.core.publisher.Mono<Spectra>
getSpecificSpectra
(double moment, double apparentStress, double start, double stop, int count) reactor.core.publisher.Mono<Spectra>
getValidationSpectra
(String eventId)
-
Constructor Details
-
SpectraWebClient
@Autowired public SpectraWebClient(org.springframework.web.reactive.function.client.WebClient client)
-
-
Method Details
-
getMeasuredSpectra
- Specified by:
getMeasuredSpectra
in interfaceSpectraClient
-
getMeasuredSpectraMetadata
- Specified by:
getMeasuredSpectraMetadata
in interfaceSpectraClient
-
getMeasuredSpectraMetadataByIds
public reactor.core.publisher.Flux<SpectraMeasurement> getMeasuredSpectraMetadataByIds(List<Long> ids) - Specified by:
getMeasuredSpectraMetadataByIds
in interfaceSpectraClient
-
getReferenceSpectra
- Specified by:
getReferenceSpectra
in interfaceSpectraClient
-
getValidationSpectra
- Specified by:
getValidationSpectra
in interfaceSpectraClient
-
getFitSpectra
- Specified by:
getFitSpectra
in interfaceSpectraClient
-
getSpecificSpectra
public reactor.core.publisher.Mono<Spectra> getSpecificSpectra(double moment, double apparentStress, double start, double stop, int count) - Specified by:
getSpecificSpectra
in interfaceSpectraClient
-