public class Utils extends Utils
LINE_SEPARATOR| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addToMapIfAbsent(MultiMap map,
CharSequence key,
CharSequence value) |
static void |
appendToMapIfAbsent(MultiMap map,
CharSequence key,
CharSequence sep,
CharSequence value) |
static String |
formatRFC1123DateTime(long time) |
static boolean |
fresh(RoutingContext ctx) |
static boolean |
fresh(RoutingContext ctx,
long lastModified) |
static ClassLoader |
getClassLoader() |
static boolean |
isJsonContentType(String contentType) |
static boolean |
isXMLContentType(String contentType) |
static long |
parseRFC1123DateTime(String header) |
static String |
pathOffset(String path,
RoutingContext context) |
static long |
secondsFactor(long millis) |
public static ClassLoader getClassLoader()
public static String formatRFC1123DateTime(long time)
public static long parseRFC1123DateTime(String header)
public static String pathOffset(String path, RoutingContext context)
public static long secondsFactor(long millis)
public static boolean isJsonContentType(String contentType)
public static boolean isXMLContentType(String contentType)
public static void addToMapIfAbsent(MultiMap map, CharSequence key, CharSequence value)
public static void appendToMapIfAbsent(MultiMap map, CharSequence key, CharSequence sep, CharSequence value)
public static boolean fresh(RoutingContext ctx)
public static boolean fresh(RoutingContext ctx, long lastModified)
Copyright © 2021. All rights reserved.