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

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

public final class AuthKeyValueParser
extends Object
implements HttpParser

HTTP parser for Google response to an Authorization request.

Since:
1.0
Author:
Yaniv Inbar

Field Summary
static AuthKeyValueParser INSTANCE
          Singleton instance.
 
Method Summary
 String getContentType()
           
<T> T
parse(HttpResponse response, Class<T> dataClass)
           
 
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
Singleton instance.

Method Detail

getContentType

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

parse

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


Copyright © 2010-2012 Google. All Rights Reserved.