org.wso2.carbon.registry.rest.api
Class ValidationUtils

java.lang.Object
  extended by org.wso2.carbon.registry.rest.api.ValidationUtils

public class ValidationUtils
extends Object

This is to validate pagination param and path.


Constructor Summary
ValidationUtils()
           
 
Method Summary
protected static boolean validatePagination(int start, int size)
           
protected static boolean validatePath(String resourcePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationUtils

public ValidationUtils()
Method Detail

validatePath

protected static boolean validatePath(String resourcePath)

validatePagination

protected static boolean validatePagination(int start,
                                            int size)


Copyright © 2015 WSO2. All rights reserved.