|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.client.googleapis.auth.AuthKeyValueParser
@Deprecated public final class AuthKeyValueParser
HTTP parser for Google response to an Authorization request.
Field Summary | |
---|---|
static AuthKeyValueParser |
INSTANCE
Deprecated. Singleton instance. |
Method Summary | ||
---|---|---|
String |
getContentType()
Deprecated. |
|
|
parse(HttpResponse response,
Class<T> dataClass)
Deprecated. |
|
|
parse(InputStream content,
Class<T> dataClass)
Deprecated. |
|
|
parseAndClose(InputStream in,
Charset charset,
Class<T> dataClass)
Deprecated. |
|
Object |
parseAndClose(InputStream in,
Charset charset,
Type dataType)
Deprecated. |
|
|
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 |
---|
public static final AuthKeyValueParser INSTANCE
Method Detail |
---|
public String getContentType()
getContentType
in interface HttpParser
public <T> T parse(HttpResponse response, Class<T> dataClass) throws IOException
parse
in interface HttpParser
IOException
public <T> T parse(InputStream content, Class<T> dataClass) throws IOException
IOException
public <T> T parseAndClose(InputStream in, Charset charset, Class<T> dataClass) throws IOException
parseAndClose
in interface ObjectParser
IOException
public Object parseAndClose(InputStream in, Charset charset, Type dataType)
parseAndClose
in interface ObjectParser
public <T> T parseAndClose(Reader reader, Class<T> dataClass) throws IOException
parseAndClose
in interface ObjectParser
IOException
public Object parseAndClose(Reader reader, Type dataType)
parseAndClose
in interface ObjectParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |