/*
 * The MIT License
 *
 * Copyright (c) 2016 Marcelo "Ataxexe" Guimarães <ataxexe@devnull.tools>
 *
 * Permission  is hereby granted, free of charge, to any person obtaining
 * a  copy  of  this  software  and  associated  documentation files (the
 * "Software"),  to  deal  in the Software without restriction, including
 * without  limitation  the  rights to use, copy, modify, merge, publish,
 * distribute,  sublicense,  and/or  sell  copies of the Software, and to
 * permit  persons to whom the Software is furnished to do so, subject to
 * the following conditions:
 * The  above  copyright  notice  and  this  permission  notice  shall be
 * included  in  all  copies  or  substantial  portions  of the Software.
 *
 * THE  SOFTWARE  IS  PROVIDED  "AS  IS",  WITHOUT  WARRANTY OF ANY KIND,
 * EXPRESS  OR  IMPLIED,  INCLUDING  BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN  NO  EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 * CLAIM,  DAMAGES  OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT  OR  OTHERWISE,  ARISING  FROM,  OUT OF OR IN CONNECTION WITH THE
 * SOFTWARE   OR   THE   USE   OR   OTHER   DEALINGS  IN  THE  SOFTWARE.
 */

package tools.devnull.boteco.client.rest;

import java.io.IOException;
import java.net.URI;

/**
 * Interface that defines a rest client.
 */
public interface RestClient {

  /**
   * Invokes the POST method and returns the result.
   *
   * @param uri the uri to invoke
   * @return a component to select the type of the result
   */
  RestConfiguration post(URI uri) throws IOException;

  /**
   * Invokes the POST method and returns the result.
   *
   * @param url the url to invoke
   * @return a component to select the type of the result
   */
  RestConfiguration post(String url) throws IOException;

  /**
   * Invokes the GET method and returns the result.
   *
   * @param uri the uri to invoke
   * @return a component to select the type of the result
   */
  RestConfiguration get(URI uri) throws IOException;

  /**
   * Invokes the GET method and returns the result.
   *
   * @param url the url to invoke
   * @return a component to select the type of the result
   */
  RestConfiguration get(String url) throws IOException;

}

@@ -1441,42 +1441,36 @@
 the 
-POST method and returns the result
+url using the POST http verb
 .%0A  
@@ -1652,42 +1652,36 @@
 the 
-POST method and returns the result
+url using the POST http verb
 .%0A  
@@ -1866,41 +1866,35 @@
 the 
-GET method and returns the result
+url using the GET http verb
 .%0A  
@@ -2075,169 +2075,1879 @@
 the 
-GET method and returns the result.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration get
+url using the GET http verb.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration get(String url) throws IOException;%0A%0A  /**%0A   * Invokes the url using the DELETE http verb.%0A   *%0A   * @param uri the uri to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration delete(URI uri) throws IOException;%0A%0A  /**%0A   * Invokes the url using the DELETE http verb.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration delete(String url) throws IOException;%0A%0A  /**%0A   * Invokes the url using the PUT http verb.%0A   *%0A   * @param uri the uri to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration put(URI uri) throws IOException;%0A%0A  /**%0A   * Invokes the url using the PUT http verb.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration put(String url) throws IOException;%0A%0A  /**%0A   * Invokes the url using the HEAD http verb.%0A   *%0A   * @param uri the uri to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration head(URI uri) throws IOException;%0A%0A  /**%0A   * Invokes the url using the HEAD http verb.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration head(String url) throws IOException;%0A%0A  /**%0A   * Invokes the url using the OPTIONS http verb.%0A   *%0A   * @param uri the uri to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration options(URI uri) throws IOException;%0A%0A  /**%0A   * Invokes the url using the OPTIONS http verb.%0A   *%0A   * @param url the url to invoke%0A   * @return a component to select the type of the result%0A   */%0A  RestConfiguration options
 (Str

add more verbs