<back to all web services

GetCacheStatuses

The following routes are available for this service:
GET/RestApi/diagnostics/cache-statuses
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetCacheStatuses
    {
        
    }

    public static class CacheStatusesProxy
    {
        public Boolean OutputCache = null;
        public Boolean ClientCache = null;
        public Boolean L2Cache = null;
        public Boolean ClientSideCacheForThemes = null;
        public Boolean RssCache = null;
        public Boolean PagesPermissionsCache = null;
        
        public Boolean isOutputCache() { return OutputCache; }
        public CacheStatusesProxy setOutputCache(Boolean value) { this.OutputCache = value; return this; }
        public Boolean isClientCache() { return ClientCache; }
        public CacheStatusesProxy setClientCache(Boolean value) { this.ClientCache = value; return this; }
        public Boolean isL2Cache() { return L2Cache; }
        public CacheStatusesProxy setL2Cache(Boolean value) { this.L2Cache = value; return this; }
        public Boolean isClientSideCacheForThemes() { return ClientSideCacheForThemes; }
        public CacheStatusesProxy setClientSideCacheForThemes(Boolean value) { this.ClientSideCacheForThemes = value; return this; }
        public Boolean isRssCache() { return RssCache; }
        public CacheStatusesProxy setRssCache(Boolean value) { this.RssCache = value; return this; }
        public Boolean isPagesPermissionsCache() { return PagesPermissionsCache; }
        public CacheStatusesProxy setPagesPermissionsCache(Boolean value) { this.PagesPermissionsCache = value; return this; }
    }

}

Java GetCacheStatuses DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/diagnostics/cache-statuses HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OutputCache: False,
	ClientCache: False,
	L2Cache: False,
	ClientSideCacheForThemes: False,
	RssCache: False,
	PagesPermissionsCache: False
}