public class CommonUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Boolean |
isAscendingOrder(String sorting)
Verify if the string sorting matches with asc or desc
Returns FALSE when sorting query value matches desc, otherwise it returns TRUE.
|
static String |
removeDefaultHttpPorts(String uri) |
public static Boolean isAscendingOrder(String sorting)
sorting - the sorting value from the http headerCopyright © 2019 JBoss by Red Hat. All rights reserved.