Examples of parseAs()


Examples of com.google.api.client.http.HttpResponse.parseAs()

       * @return the {@link com.google.api.services.calendar.model.FreeBusyResponse} response
       * @throws IOException if the request fails
       */
      public com.google.api.services.calendar.model.FreeBusyResponse execute() throws IOException {
        HttpResponse response = executeUnparsed();
        com.google.api.services.calendar.model.FreeBusyResponse result = response.parseAs(
            com.google.api.services.calendar.model.FreeBusyResponse.class);
        result.setResponseHeaders(response.getHeaders());
        return result;
      }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.