railo.runtime.cache.eh.remote.rest
Class RESTClient

java.lang.Object
  extended by railo.runtime.cache.eh.remote.rest.RESTClient

public class RESTClient
extends Object


Constructor Summary
RESTClient(URL url)
           
 
Method Summary
 boolean contains(String cacheName, String key)
           
 CacheEntry getEntry(String cacheName, String key)
           
 CacheMeta getMeta(String cacheName)
           
 CacheEntry getMeta2(String cacheName)
           
 Object getMetaRaw(String cacheName)
           
 Object getValue(String cacheName, String key)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RESTClient

public RESTClient(URL url)
Method Detail

getMetaRaw

public Object getMetaRaw(String cacheName)
                  throws IOException
Throws:
IOException

getMeta

public CacheMeta getMeta(String cacheName)
                  throws IOException,
                         SAXException
Throws:
IOException
SAXException

getMeta2

public CacheEntry getMeta2(String cacheName)
                    throws IOException
Throws:
IOException

contains

public boolean contains(String cacheName,
                        String key)
                 throws IOException
Throws:
IOException

getValue

public Object getValue(String cacheName,
                       String key)
                throws IOException
Throws:
IOException

getEntry

public CacheEntry getEntry(String cacheName,
                           String key)
                    throws IOException
Throws:
IOException

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2012 Railo