Class Put


public class Put extends Post
Executes a PUT request.
Author:
Igor Polevoy
  • Constructor Details

    • Put

      public Put(String url, byte[] content, int connectTimeout, int readTimeout)
      Constructor for making PUT requests.
      Parameters:
      url - URL of resource.
      content - content to be "put" into a resource.
      connectTimeout - connection timeout.
      readTimeout - read timeout.
  • Method Details

    • getMethod

      protected String getMethod()
      Overrides:
      getMethod in class Post
    • main

      public static void main(String[] args)