Interface WebClient


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

    • 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
    • put

      Create a request builder for a put method.
      Returns:
      client request builder
    • get

      Create a request builder for a get method.
      Returns:
      client request builder
    • post

      Create a request builder for a post method.
      Returns:
      client request builder
    • delete

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

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

      Create a request builder for a trace method.
      Returns:
      client request builder
    • head

      Create a request builder for a head method.
      Returns:
      client request builder
    • method

      Create a request builder for a method based on method parameter.
      Parameters:
      method - request method
      Returns:
      client request builder
    • method

      Create a request builder for a method based on method parameter.
      Parameters:
      method - request method
      Returns:
      client request builder