Interface WebClient


  • public interface WebClient
    Base client which is used to perform requests.
    • Method Detail

      • create

        static WebClient create()
        Create a new WebClient.
        Returns:
        client
      • create

        static WebClient create​(Config config)
        Create a new WebClient based on Config.
        Parameters:
        config - client config
        Returns:
        client
      • builder

        static WebClient.Builder builder()
        Fluent API builder for client.
        Returns:
        client builder
      • delete

        WebClientRequestBuilder delete()
        Create a request builder for a delete method.
        Returns:
        client request builder
      • options

        WebClientRequestBuilder options()
        Create a request builder for a options method.
        Returns:
        client request builder
      • trace

        WebClientRequestBuilder trace()
        Create a request builder for a trace method.
        Returns:
        client request builder
      • method

        WebClientRequestBuilder method​(String method)
        Create a request builder for a method based on method parameter.
        Parameters:
        method - request method
        Returns:
        client request builder