Deprecated API


Contents
Deprecated Interfaces
com.google.api.client.http.HttpExecuteIntercepter
          (scheduled to be removed in 1.5) Use HttpExecuteInterceptor 
 

Deprecated Classes
com.google.api.client.auth.oauth2.AccessProtectedResource
          (scheduled to be removed in 1.5) Use AccessProtectedResource 
com.google.api.client.auth.oauth2.AccessTokenErrorResponse
          (scheduled to be removed in 1.5) Use AccessTokenErrorResponse 
com.google.api.client.auth.oauth2.AccessTokenRequest
          (scheduled to be removed in 1.5) Use AccessTokenRequest 
com.google.api.client.auth.oauth2.AccessTokenRequest.AssertionGrant
          (scheduled to be removed in 1.5) Use AccessTokenRequest.AssertionGrant 
com.google.api.client.auth.oauth2.AccessTokenRequest.AuthorizationCodeGrant
          (scheduled to be removed in 1.5) Use AccessTokenRequest.AuthorizationCodeGrant 
com.google.api.client.auth.oauth2.AccessTokenRequest.RefreshTokenGrant
          (scheduled to be removed in 1.5) Use AccessTokenRequest.RefreshTokenGrant 
com.google.api.client.auth.oauth2.AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant
          (scheduled to be removed in 1.5) Use AccessTokenRequest.ResourceOwnerPasswordCredentialsGrant 
com.google.api.client.auth.oauth2.AccessTokenResponse
          (scheduled to be removed in 1.5) Use AccessTokenResponse 
com.google.api.client.xml.atom.AtomContent
          (scheduled to be removed in 1.5) Use AtomContent 
com.google.api.client.xml.atom.AtomFeedContent
          (scheduled to be removed in 1.5) Use AtomFeedContent 
com.google.api.client.xml.atom.AtomFeedParser
          (scheduled to be removed in 1.5) Use AtomFeedParser 
com.google.api.client.xml.atom.AtomParser
          (scheduled to be removed in 1.5) Use AtomParser 
com.google.api.client.auth.oauth2.AuthorizationRequestUrl
          (scheduled to be removed in 1.5) Use AuthorizationRequestUrl 
com.google.api.client.auth.oauth2.AuthorizationResponse
          (scheduled to be removed in 1.5) Use AuthorizationResponse 
com.google.api.client.util.DataUtil
          (scheduled to be removed in 1.5) Use Data 
com.google.api.client.util.ReflectionMap
          (scheduled to be removed in 1.5) Use Data.mapOf(Object) 
 

Deprecated Fields
com.google.api.client.util.ClassInfo.clazz
          (scheduled to be made private in 1.5) Use ClassInfo.getUnderlyingClass() 
com.google.api.client.http.HttpTransport.defaultHeaders
          (scheduled to be removed in 1.5) Use HttpRequest.headers in an HttpRequestInitializer 
com.google.api.client.util.FieldInfo.field
          (scheduled to be made private in 1.5) Use FieldInfo.getField() 
com.google.api.client.http.HttpTransport.intercepters
          (scheduled to be removed in 1.5) Use HttpRequest.interceptor 
com.google.api.client.util.FieldInfo.isFinal
          (scheduled to be removed in 1.5) Use FieldInfo.isFinal() 
com.google.api.client.util.FieldInfo.isPrimitive
          (scheduled to be made private in 1.5) Use FieldInfo.isPrimitive() 
com.google.api.client.util.FieldInfo.name
          (scheduled to be made private in 1.5) Use FieldInfo.getName() 
com.google.api.client.util.FieldInfo.type
          (scheduled to be removed in 1.5) Use FieldInfo.getType() 
com.google.api.client.util.Strings.UTF8_CHARSET
          (scheduled to be removed in 1.5) Use Charsets.UTF_8 
 

Deprecated Methods
com.google.api.client.http.HttpTransport.addParser(HttpParser)
          (scheduled to be removed in 1.5) Use HttpRequest.addParser(HttpParser) in an HttpRequestInitializer 
com.google.api.client.http.HttpTransport.buildDeleteRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildDeleteRequest(GenericUrl) 
com.google.api.client.http.HttpTransport.buildGetRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildGetRequest(GenericUrl) 
com.google.api.client.http.HttpTransport.buildHeadRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildHeadRequest(GenericUrl) 
com.google.api.client.http.HttpTransport.buildPatchRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildPatchRequest(GenericUrl, HttpContent) 
com.google.api.client.http.HttpTransport.buildPostRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildPostRequest(GenericUrl, HttpContent) 
com.google.api.client.http.HttpTransport.buildPutRequest()
          (scheduled to be removed in 1.5) Use HttpRequestFactory.buildPutRequest(GenericUrl, HttpContent) 
com.google.api.client.http.HttpTransport.buildRequest()
          (scheduled to be made package private in 1.5) Use HttpRequestFactory.buildRequest(HttpMethod, GenericUrl, HttpContent) 
com.google.api.client.http.HttpHeaders.canonicalMap()
          (scheduled to be removed in 1.5) 
com.google.api.client.util.DataUtil.clone(T)
          (scheduled to be removed in 1.5) Use Data.deepCopy(Object, Object) or Data.clone(Object) 
com.google.api.client.http.InputStreamContent.copy(InputStream, OutputStream)
          Scheduled for removal in version 1.5. Please use AbstractInputStreamContent.copy(java.io.InputStream, java.io.OutputStream) as an alternative. 
com.google.api.client.util.ClassInfo.getCollectionParameter(Field)
          (scheduled to be removed in 1.5) use Types.getIterableParameter(Type) on the Field.getGenericType() 
com.google.api.client.util.ClassInfo.getKeyCount()
          (scheduled to be removed in 1.5) Use ClassInfo.getNames().size() 
com.google.api.client.util.ClassInfo.getKeyNames()
          (scheduled to be removed in 1.5) Use ClassInfo.getNames() 
com.google.api.client.util.ClassInfo.getMapValueParameter(Field)
          (scheduled to be removed in 1.5) use Types.getMapValueParameter(Type) on the Field.getGenericType() 
com.google.api.client.util.ClassInfo.getMapValueParameter(Type)
          (scheduled to be removed in 1.5) use Types.getMapValueParameter(Type) 
com.google.api.client.http.HttpTransport.getParser(String)
          (scheduled to be removed in 1.5) Use HttpRequest.getParser(String) in an HttpRequestInitializer 
com.google.api.client.util.FieldInfo.isPrimitive(Class)
          (scheduled to be removed in 1.5) Use Data.isPrimitive(Type) 
com.google.api.client.util.FieldInfo.isPrimitive(Object)
          (scheduled to be removed in 1.5) Use Data.isPrimitive(Type) on the Object.getClass() 
com.google.api.client.util.DataUtil.mapOf(Object)
          (scheduled to be removed in 1.5) Use Data.mapOf(Object) 
com.google.api.client.util.ClassInfo.newCollectionInstance(Class)
          (scheduled to be removed in 1.5) use Data.newCollectionInstance(Type) 
com.google.api.client.util.ClassInfo.newInstance(Class)
          (scheduled to be removed in 1.5) use Types.newInstance(Class) 
com.google.api.client.util.ClassInfo.newMapInstance(Class)
          (scheduled to be removed in 1.5) use Data.newMapInstance(Class) 
com.google.api.client.util.FieldInfo.parsePrimitiveValue(Class, String)
          (scheduled to be removed in 1.5) Use Data.parsePrimitiveValue(Type, String) 
com.google.api.client.http.HttpTransport.removeIntercepters(Class)
          (scheduled to be removed in 1.5) Use HttpRequest.interceptor 
com.google.api.client.http.InputStreamContent.setByteArrayInput(byte[])
          Scheduled for removal in 1.5. Please use ByteArrayContent instead. 
com.google.api.client.http.InputStreamContent.setFileInput(File)
          Scheduled for removal in 1.5. Please use FileContent instead. 
com.google.api.client.http.HttpRequest.setUrl(String)
          (scheduled to be removed in 1.5) Use GenericUrl.GenericUrl(String) 
com.google.api.client.auth.oauth.OAuthParameters.signRequestsUsingAuthorizationHeader(HttpTransport)
          (scheduled to be removed in 1.5) Use OAuthParameters directly 
 



Copyright © 2010-2011 Google. All Rights Reserved.