public static interface

GDataProtocol.Header

com.google.gdata.client.GDataProtocol.Header

Class Overview

The Header interface defines various header names used within the GData protocol.

Summary

Constants
String ACCEPT_LANGUAGE The ACCEPT_LANGUAGE header is used to choose the best language for the output when the parameter hl is not specified.
String CACHE_CONTROL The CACHE_CONTROL header is used to specify how fresh a result should be in a request.
String ETAG The ETAG header is used to return an HTTP entity tag for a resource in a GData response.
String IF_MATCH The IF_MATCH header is used to request specific entity versions.
String IF_MODIFIED_SINCE The IF_MODIFIED_SINCE header is used to reject requests unmodified since the given date.
String IF_NONE_MATCH The IF_NONE_MATCH header is used to disallow specific entity versions.
String IF_UNMODIFIED_SINCE The IF_UNMODIFIED_SINCE header is used to reject requests modified since the given date.
String LAST_MODIFIED The ETAG header is used to return an last modification time for a resource in a GData response.
String METHOD_OVERRIDE The METHOD_OVERRIDE parameter overrides the normal HTTP method.
String VERSION The VERSION header is used to request a specific service version.
String X_UPLOAD_CONTENT_LENGTH The X_UPLOAD_CONTENT_LENGTH header is used in Scotty requests for the content length of the uploaded file.
String X_UPLOAD_CONTENT_TYPE The X_UPLOAD_CONTENT_TYPE header is used in Scotty requests for the content type of the uploaded file.

Constants

public static final String ACCEPT_LANGUAGE

The ACCEPT_LANGUAGE header is used to choose the best language for the output when the parameter hl is not specified.

Constant Value: "Accept-Language"

public static final String CACHE_CONTROL

The CACHE_CONTROL header is used to specify how fresh a result should be in a request.

Constant Value: "Cache-Control"

public static final String ETAG

The ETAG header is used to return an HTTP entity tag for a resource in a GData response.

Constant Value: "ETag"

public static final String IF_MATCH

The IF_MATCH header is used to request specific entity versions. The value of the parameter will be a space-separated list of Etags.

Constant Value: "If-Match"

public static final String IF_MODIFIED_SINCE

The IF_MODIFIED_SINCE header is used to reject requests unmodified since the given date.

Constant Value: "If-Modified-Since"

public static final String IF_NONE_MATCH

The IF_NONE_MATCH header is used to disallow specific entity versions. The value of the parameter will be a space-separated list of Etags.

Constant Value: "If-None-Match"

public static final String IF_UNMODIFIED_SINCE

The IF_UNMODIFIED_SINCE header is used to reject requests modified since the given date.

Constant Value: "If-Unmodified-Since"

public static final String LAST_MODIFIED

The ETAG header is used to return an last modification time for a resource in a GData response.

Constant Value: "Last-Modified"

public static final String METHOD_OVERRIDE

The METHOD_OVERRIDE parameter overrides the normal HTTP method. The value is the HTTP method that should be used to process the request. This is used to allow clients that are unable to issue PUT or DELETE methods to emulate such methods. The client would issue a POST method with this header value set to "PUT" or "DELETE", and the service translates the invocation to the corresponding request type.

Constant Value: "X-HTTP-Method-Override"

public static final String VERSION

The VERSION header is used to request a specific service version. The value of the parameter will be in the format <major>.<minor> and will be interpreted relative to the version model of the target service.

Constant Value: "GData-Version"

public static final String X_UPLOAD_CONTENT_LENGTH

The X_UPLOAD_CONTENT_LENGTH header is used in Scotty requests for the content length of the uploaded file.

Constant Value: "X-Upload-Content-Length"

public static final String X_UPLOAD_CONTENT_TYPE

The X_UPLOAD_CONTENT_TYPE header is used in Scotty requests for the content type of the uploaded file.

Constant Value: "X-Upload-Content-Type"