com.google.api.client.googleapis.auth
Class AuthKeyValueParser
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final AuthKeyValueParser INSTANCE
- Singleton instance.
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.