public class RequestCacheControlStruct extends Object
Constructor and Description |
---|
RequestCacheControlStruct(BMap<String,BValue> requestCacheControl) |
RequestCacheControlStruct(StructureTypeInfo structInfo) |
Modifier and Type | Method and Description |
---|---|
BMap<String,BValue> |
getStruct() |
void |
populateStruct(String cacheControlHeaderVal) |
RequestCacheControlStruct |
setMaxAge(long maxAge) |
RequestCacheControlStruct |
setMaxStale(long maxStale) |
RequestCacheControlStruct |
setMinFresh(long minFresh) |
RequestCacheControlStruct |
setNoCache(boolean noCache) |
RequestCacheControlStruct |
setNoStore(boolean noStore) |
RequestCacheControlStruct |
setNoTransform(boolean noTransform) |
RequestCacheControlStruct |
setOnlyIfCached(boolean onlyIfCached) |
public RequestCacheControlStruct(StructureTypeInfo structInfo)
public RequestCacheControlStruct setNoCache(boolean noCache)
public RequestCacheControlStruct setNoStore(boolean noStore)
public RequestCacheControlStruct setNoTransform(boolean noTransform)
public RequestCacheControlStruct setOnlyIfCached(boolean onlyIfCached)
public RequestCacheControlStruct setMaxAge(long maxAge)
public RequestCacheControlStruct setMaxStale(long maxStale)
public RequestCacheControlStruct setMinFresh(long minFresh)
public void populateStruct(String cacheControlHeaderVal)
Copyright © 2018 WSO2. All rights reserved.