Package com.ibm.sbt.services.client

Examples of com.ibm.sbt.services.client.Request$HandlerAtomEntry


   * @param serviceUrl - The url that the GET request is sent to.
   * @return Request - The Request Object.
   */
  public static Request get(String serviceUrl) {
    RestClient restClient = new RestClient();
    return new Request(restClient.getService(serviceUrl), ClientService.METHOD_GET, serviceUrl);
  }
View Full Code Here


   * Method to send an HTTP GET request to a server.
   * @param serviceUrl The url that the GET request is sent to.
   * @return Request The Request Object.
   */
  public final Request doGet(String serviceUrl) {
    return new Request(getService(serviceUrl), ClientService.METHOD_GET, serviceUrl);
  }
View Full Code Here

   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public static Request delete(String serviceUrl) {
    RestClient restClient = new RestClient();
    return new Request(restClient.getService(serviceUrl), ClientService.METHOD_DELETE, serviceUrl);
  }
View Full Code Here

   * Method to send an HTTP DELETE request.
   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public final Request doDelete(String serviceUrl) {
    return new Request(getService(serviceUrl), ClientService.METHOD_DELETE, serviceUrl);
  }
View Full Code Here

   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public static Request post(String serviceUrl) {
    RestClient restClient = new RestClient();
    return new Request(restClient.getService(serviceUrl), ClientService.METHOD_POST, serviceUrl);
  }
View Full Code Here

   * Method to send an HTTP POST request.
   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public final Request doPost(String serviceUrl) {
    return new Request(getService(serviceUrl), ClientService.METHOD_POST, serviceUrl);
  }
View Full Code Here

   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public static Request put(String serviceUrl) {
    RestClient restClient = new RestClient();
    return new Request(restClient.getService(serviceUrl), ClientService.METHOD_PUT, serviceUrl);
  }
View Full Code Here

   * Method to send an HTTP PUT request.
   * @param serviceUrl  The URL the request is sent to
   * @return Request The Request Object
   */
  public final Request doPut(String serviceUrl) {
    return new Request(getService(serviceUrl), ClientService.METHOD_PUT, serviceUrl);
  }
View Full Code Here

TOP

Related Classes of com.ibm.sbt.services.client.Request$HandlerAtomEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.