Package org.platformlayer.rest

Examples of org.platformlayer.rest.HttpPayload


    }
  }

  protected <T> T doSimpleXmlRequest(HttpMethod method, String relativeUri, Object postObject, Class<T> responseClass)
      throws RestClientException {
    HttpPayload payload = postObject != null ? HttpPayload.asXml(postObject) : null;
    RestfulRequest<T> request = restfulClient.buildRequest(method, relativeUri, payload, responseClass);
    return request.execute();
  }
View Full Code Here


    }
  }

  protected <T> T doSimpleXmlRequest(HttpMethod method, String relativeUri, Object postObject, Class<T> responseClass)
      throws RestClientException {
    HttpPayload payload = postObject != null ? HttpPayload.asXml(postObject) : null;
    RestfulRequest<T> request = httpClient.buildRequest(method, relativeUri, payload, responseClass);
    return request.execute();
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.rest.HttpPayload

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.