public class

ResourceUtil

extends Object
java.lang.Object
   ↳ org.apache.helix.webapp.resources.ResourceUtil

Summary

Nested Classes
enum ResourceUtil.ContextKey Key enums for getting values from context  
enum ResourceUtil.RequestKey Key enums for getting values from request  
enum ResourceUtil.YamlParamKey Key enums for getting yaml format parameters  
Public Constructors
ResourceUtil()
Public Methods
static ZkClient getAttributeFromCtx(Context ctx, ResourceUtil.ContextKey key)
static String getAttributeFromRequest(Request r, ResourceUtil.RequestKey key)
static String getYamlParameters(Form form, ResourceUtil.YamlParamKey key)
static String readZkAsBytes(ZkClient zkclient, PropertyKey propertyKey)
static Map<StringString> readZkChildrenAsBytesMap(ZkClient zkclient, PropertyKey propertyKey)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ResourceUtil ()

Public Methods

public static ZkClient getAttributeFromCtx (Context ctx, ResourceUtil.ContextKey key)

public static String getAttributeFromRequest (Request r, ResourceUtil.RequestKey key)

public static String getYamlParameters (Form form, ResourceUtil.YamlParamKey key)

public static String readZkAsBytes (ZkClient zkclient, PropertyKey propertyKey)

public static Map<StringString> readZkChildrenAsBytesMap (ZkClient zkclient, PropertyKey propertyKey)