Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.restAPI
Class DirectoryCacheRestlet

java.lang.Object
  extended by org.restlet.Uniform
      extended by org.restlet.Restlet
          extended by org.nuxeo.ecm.platform.ui.web.restAPI.BaseNuxeoRestlet
              extended by org.nuxeo.ecm.platform.ui.web.restAPI.DirectoryCacheRestlet

public class DirectoryCacheRestlet
extends BaseNuxeoRestlet

Restlet to invalidate the cache of directories from an external application.

Warning: this restlet can only be used on the JVM that hosts the DirectoryService instance since it is using non-remotable API. This means this restlet will not work with the multi machine setups of Nuxeo.

Author:
ogrisel

Field Summary
static String DIRECTORY_NAME_QUERY_PARAM
           
 
Constructor Summary
DirectoryCacheRestlet()
           
 
Method Summary
 void handle(org.restlet.data.Request req, org.restlet.data.Response res)
           
 
Methods inherited from class org.restlet.Restlet
getContext, getLogger, isStarted, isStopped, setContext, start, stop
 
Methods inherited from class org.restlet.Uniform
delete, delete, get, get, handle, head, head, options, options, post, post, put, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIRECTORY_NAME_QUERY_PARAM

public static final String DIRECTORY_NAME_QUERY_PARAM
See Also:
Constant Field Values
Constructor Detail

DirectoryCacheRestlet

public DirectoryCacheRestlet()
Method Detail

handle

public void handle(org.restlet.data.Request req,
                   org.restlet.data.Response res)
Overrides:
handle in class org.restlet.Restlet

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.