public final class HttpCacheControlResponseHeader
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
HttpCacheControlResponseHeader() |
Modifier and Type | Method and Description |
---|---|
HttpCacheControlResponseHeader |
clone() |
java.lang.Long |
getAge()
14.6 response cache age, in seconds since the response is generated
|
java.lang.String |
getDirective()
14.9 request and response directives
|
java.lang.String |
getExpires()
14.21 response cache expires, in RFC 1123 date format
|
HttpCacheControlResponseHeader |
set(java.lang.String fieldName,
java.lang.Object value) |
HttpCacheControlResponseHeader |
setAge(java.lang.Long age)
14.6 response cache age, in seconds since the response is generated
|
HttpCacheControlResponseHeader |
setDirective(java.lang.String directive)
14.9 request and response directives
|
HttpCacheControlResponseHeader |
setExpires(java.lang.String expires)
14.21 response cache expires, in RFC 1123 date format
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Long getAge()
null
for nonepublic HttpCacheControlResponseHeader setAge(java.lang.Long age)
age
- age or null
for nonepublic java.lang.String getDirective()
null
for nonepublic HttpCacheControlResponseHeader setDirective(java.lang.String directive)
directive
- directive or null
for nonepublic java.lang.String getExpires()
null
for nonepublic HttpCacheControlResponseHeader setExpires(java.lang.String expires)
expires
- expires or null
for nonepublic HttpCacheControlResponseHeader set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public HttpCacheControlResponseHeader clone()
clone
in class com.google.api.client.json.GenericJson