spring-framework / org.springframework.web.reactive.function.client / ClientRequest / method

method

abstract fun method(): HttpMethod

Return the HTTP method.

open static fun method(method: HttpMethod, url: URI): Builder

Create a builder with the given method and url.

Parameters

method - the HTTP method (GET, POST, etc)

url - the URL

Return
the created builder