}
};
GDataRequestFactory factory = new GoogleGDataRequest.Factory() {
@Override protected GDataRequest createRequest(RequestType type, URL requestUrl,
ContentType contentType) throws IOException, ServiceException {
return new GoogleGDataRequest(type, requestUrl, contentType, authToken,
headerMap, privateHeaderMap, connectionSource) {
// Superclass method barfs with a NullPointerException because it
// expects a WWW-Authenticate header that isn't there, so override
// it.
@Override protected void handleErrorResponse() throws ServiceException, IOException {