com.google.api.client.googleapis.auth
Class AuthKeyValueParser

java.lang.Object
  extended by com.google.api.client.googleapis.auth.AuthKeyValueParser
All Implemented Interfaces:
HttpParser, ObjectParser

Deprecated. (scheduled to be removed in 1.11)

@Deprecated
public final class AuthKeyValueParser
extends Object
implements HttpParser, ObjectParser

HTTP parser for Google response to an Authorization request.

Since:
1.0
Author:
Yaniv Inbar

Field Summary
static AuthKeyValueParser INSTANCE
          Deprecated. Singleton instance.
 
Method Summary
 String getContentType()
          Deprecated.  
<T> T
parse(HttpResponse response, Class<T> dataClass)
          Deprecated.  
<T> T
parse(InputStream content, Class<T> dataClass)
          Deprecated.  
<T> T
parseAndClose(InputStream in, Charset charset, Class<T> dataClass)
          Deprecated.  
 Object parseAndClose(InputStream in, Charset charset, Type dataType)
          Deprecated.  
<T> T
parseAndClose(Reader reader, Class<T> dataClass)
          Deprecated.  
 Object parseAndClose(Reader reader, Type dataType)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final AuthKeyValueParser INSTANCE
Deprecated. 
Singleton instance.

Method Detail

getContentType

public String getContentType()
Deprecated. 
Specified by:
getContentType in interface HttpParser

parse

public <T> T parse(HttpResponse response,
                   Class<T> dataClass)
        throws IOException
Deprecated. 
Specified by:
parse in interface HttpParser
Throws:
IOException

parse

public <T> T parse(InputStream content,
                   Class<T> dataClass)
        throws IOException
Deprecated. 
Throws:
IOException

parseAndClose

public <T> T parseAndClose(InputStream in,
                           Charset charset,
                           Class<T> dataClass)
                throws IOException
Deprecated. 
Specified by:
parseAndClose in interface ObjectParser
Throws:
IOException

parseAndClose

public Object parseAndClose(InputStream in,
                            Charset charset,
                            Type dataType)
Deprecated. 
Specified by:
parseAndClose in interface ObjectParser

parseAndClose

public <T> T parseAndClose(Reader reader,
                           Class<T> dataClass)
                throws IOException
Deprecated. 
Specified by:
parseAndClose in interface ObjectParser
Throws:
IOException

parseAndClose

public Object parseAndClose(Reader reader,
                            Type dataType)
Deprecated. 
Specified by:
parseAndClose in interface ObjectParser


Copyright © 2010-2012 Google. All Rights Reserved.