Interface QuotesAPI

All Known Implementing Classes:
QuotesAPIClient

public interface QuotesAPI
This interface is an example of an HTTP-base API that performs content negotiation between client and server. The "consumes" property indicates which types the server is willing to accept. The "produces" property indicates which types the service is willing to return. The client will express a list of supported types, in priority order when calling the service.
  • Field Details

  • Method Details

    • createQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteDTO>> createQuote(QuoteDTO quote)
    • updateQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> updateQuote(int id, QuoteDTO quote)
    • containsQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> containsQuote(int id)
    • getQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteDTO>> getQuote(int id)
    • randomQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteDTO>> randomQuote()
    • deleteQuote

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> deleteQuote(int id)
    • deleteAllQuotes

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Void>> deleteAllQuotes()
    • getQuotes

      reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<QuoteListDTO>> getQuotes(Integer offset, Integer limit)