org.inria.myriads.snoozecommon.communication.rest.util
Class RESTUtil

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.rest.util.RESTUtil

public final class RESTUtil
extends Object

REST utility.

Author:
Eugen Feller

Method Summary
static org.restlet.resource.ClientResource createClientResource(NodeRole nodeRole, NetworkAddress networkAddress)
          Creates a web resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createClientResource

public static org.restlet.resource.ClientResource createClientResource(NodeRole nodeRole,
                                                                       NetworkAddress networkAddress)
Creates a web resource.

Parameters:
nodeRole - The node role
networkAddress - The network address
Returns:
The web resource


Copyright © 2012. All Rights Reserved.