Deprecated API


Contents
Deprecated Interfaces
com.google.api.client.http.HttpParser
          (scheduled to be removed in 1.11) Use ObjectParser instead. 
 

Deprecated Classes
com.google.api.client.http.xml.atom.AtomParser
          (scheduled to be removed in 1.11) Content-Type is no longer stored inside of the Parser. Use an XmlObjectParser instead. 
com.google.api.client.http.json.JsonHttpParser
          (scheduled to be removed in 1.11) Use JsonObjectParser instead. 
com.google.api.client.http.protobuf.ProtoHttpParser
          (scheduled to be removed in 1.11) Use ProtoObjectParser instead. 
com.google.api.client.http.UrlEncodedParser.Builder
          (scheduled to be removed in 1.11) Content-Type is no longer stored in the parser. 
com.google.api.client.extensions.appengine.http.urlfetch.UrlFetchTransport
          (scheduled to be removed in 1.11) Class has been moved to UrlFetchTransport 
com.google.api.client.http.xml.XmlHttpParser
          (scheduled to be removed in 1.11) Use XmlObjectParser instead. 
 

Deprecated Enums
com.google.api.client.json.JsonEncoding
          (scheduled to be removed in 1.11) 
 

Deprecated Fields
com.google.api.client.json.Json.CONTENT_TYPE
          (scheduled to be removed in 1.11) Use Json.MEDIA_TYPE instead. 
com.google.api.client.xml.atom.Atom.CONTENT_TYPE
          (scheduled to be removed in 1.11) Use Atom.MEDIA_TYPE instead. 
 

Deprecated Methods
com.google.api.client.http.HttpRequest.addParser(HttpParser)
          (scheduled to be removed in 1.11) Use HttpRequest.setParser(ObjectParser) instead. 
com.google.api.client.json.JsonFactory.createJsonGenerator(OutputStream, JsonEncoding)
          (scheduled to be removed in 1.11) Use JsonFactory.createJsonGenerator(OutputStream, Charset) instead. 
com.google.api.client.json.gson.GsonFactory.createJsonGenerator(OutputStream, JsonEncoding)
           
com.google.api.client.json.jackson.JacksonFactory.createJsonGenerator(OutputStream, JsonEncoding)
           
com.google.api.client.extensions.android3.json.AndroidJsonFactory.createJsonGenerator(OutputStream, JsonEncoding)
           
com.google.api.client.http.json.JsonHttpClient.createParser()
          (scheduled to be removed in 1.11) Use JsonHttpClient.Builder.setObjectParser(JsonObjectParser) instead. 
com.google.api.client.http.json.JsonHttpClient.Builder.getBaseUrl()
          (scheduled to be removed in 1.11) Use JsonHttpClient.Builder.getRootUrl() and JsonHttpClient.Builder.getServicePath() instead. 
com.google.api.client.http.UrlEncodedParser.getContentType()
           
com.google.api.client.http.json.JsonHttpClient.getJsonHttpParser()
          (scheduled to be removed in 1.11) Use JsonHttpClient.getJsonObjectParser() instead. 
com.google.api.client.http.HttpResponse.getParser()
          (scheduled to be removed in 1.11) Use HttpResponse.getRequest(). HttpRequest.getParser() instead 
com.google.api.client.http.HttpRequest.getParser(String)
          (scheduled to be removed in 1.11) Use HttpRequest.getParser() instead. 
com.google.api.client.http.json.JsonHttpClient.isBaseUrlUsed()
          (scheduled to be removed in 1.11) Use JsonHttpClient.getRootUrl() and JsonHttpClient.getServicePath() instead. 
com.google.api.client.http.json.JsonHttpClient.Builder.isBaseUrlUsed()
          (scheduled to be removed in 1.11) Use JsonHttpClient.Builder.getRootUrl() and JsonHttpClient.Builder.getServicePath() instead. 
com.google.api.client.http.HttpRequest.normalizeMediaType(String)
          (scheduled to be removed in 1.11) Use HttpMediaType.equalsIgnoreParameters(HttpMediaType) instead 
com.google.api.client.http.UrlEncodedParser.parse(HttpResponse, Class)
           
com.google.api.client.http.json.JsonHttpClient.Builder.setBaseUrl(GenericUrl)
          (scheduled to be removed in 1.11) Use JsonHttpClient.Builder.setRootUrl(java.lang.String) and JsonHttpClient.Builder.setServicePath(java.lang.String) instead. 
com.google.api.client.http.UrlEncodedContent.setType(String)
          (scheduled to be removed in 1.11) Use UrlEncodedContent.setMediaType(HttpMediaType) instead. 
com.google.api.client.http.json.JsonHttpContent.setType(String)
          (scheduled to be removed in 1.11) Use JsonHttpContent.setMediaType(HttpMediaType) instead. 
com.google.api.client.http.xml.AbstractXmlHttpContent.setType(String)
          (scheduled to be removed in 1.11) Use AbstractXmlHttpContent.setMediaType(HttpMediaType) instead. 
com.google.api.client.http.xml.XmlHttpContent.setType(String)
          (scheduled to be removed in 1.11) Use XmlHttpContent.setMediaType(HttpMediaType) instead. 
com.google.api.client.http.xml.atom.AtomContent.setType(String)
          (scheduled to be removed in 1.11) Use AtomContent.setMediaType(HttpMediaType) instead. 
 

Deprecated Constructors
com.google.api.client.http.AbstractHttpContent()
          (scheduled to be removed in 1.11) Use AbstractHttpContent.AbstractHttpContent(String) instead. 
com.google.api.client.http.json.JsonHttpClient.Builder(HttpTransport, JsonFactory, GenericUrl)
          (scheduled to be removed in 1.11) Use #Builder(HttpTransport, JsonFactory, String, String, HttpRequestInitializer) instead. 
com.google.api.client.http.json.JsonHttpClient(HttpTransport, JsonFactory, String)
          (scheduled to be removed in 1.11) Use JsonHttpClient.JsonHttpClient(HttpTransport, JsonFactory, String, String, HttpRequestInitializer). 
com.google.api.client.http.json.JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser, String, String)
          (scheduled to be removed in 1.11) Use JsonHttpClient.JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser, String, String, String). 
com.google.api.client.http.json.JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, String, String)
          (scheduled to be removed in 1.11) Use JsonHttpClient.JsonHttpClient(HttpTransport, JsonHttpRequestInitializer, HttpRequestInitializer, JsonFactory, JsonObjectParser, String, String, String). 
com.google.api.client.http.UrlEncodedParser(String)
          (scheduled to be removed in 1.11) HttpParser has been replaced by ObjectParser 
 



Copyright © 2011-2012 Google. All Rights Reserved.