public class NullCredentialInitializer
extends java.lang.Object
implements com.google.api.client.http.HttpRequestInitializer
HttpRequestInitializer for requests that don't have credentials.
 When the access is denied, it throws IOException with a detailed error message.
| Constructor and Description | 
|---|
| NullCredentialInitializer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | initialize(com.google.api.client.http.HttpRequest httpRequest) | 
| static void | throwNullCredentialException() | 
public void initialize(com.google.api.client.http.HttpRequest httpRequest)
                throws java.io.IOException
initialize in interface com.google.api.client.http.HttpRequestInitializerjava.io.IOExceptionpublic static void throwNullCredentialException()