public class

GDataProtocol

extends Object
java.lang.Object
   ↳ com.google.gdata.client.GDataProtocol

Class Overview

The GDataProtocol class defines various constant values used within the Google Data API.

Summary

Nested Classes
interface GDataProtocol.Error The Error interface defines GData protocol response codes that are not defined in the base HTTP specification. 
interface GDataProtocol.Header The Header interface defines various header names used within the GData protocol. 
interface GDataProtocol.Method The Method interface defines extended method names used within the GData protocol. 
interface GDataProtocol.Parameter The Parameters interface defines basic query parameter names used within the Data protocol. 
interface GDataProtocol.Query The Query interface extends the basic set of parameter names with the common set that are used for GData feed queries. 
Public Methods
static boolean isWeakEtag(String etag)
Returns true if an entity tag value is a weak Etag, as defined in RFC2616, Section 3.11.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static boolean isWeakEtag (String etag)

Returns true if an entity tag value is a weak Etag, as defined in RFC2616, Section 3.11. Weak Etags can be used for weak comparisons, such as in some caching scenarios, but may not be used for strong validation (like update preconditions).

Parameters
etag Entity tag value.
Returns
  • true if value is a weak Etag.