org.atmosphere.util
public class IOUtils extends Object
| Constructor and Description |
|---|
IOUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCleanedServletPath(String fullServletPath)
Used to remove trailing slash and wildcard from a servlet path.
Examples : - "/foo/" becomes "/foo" - "foo/bar" becomes "/foo/bar" |
static String |
guestServletPath(AtmosphereConfig config) |
static boolean |
isAtmosphere(String className) |
static Class<?> |
loadClass(Class thisClass,
String className) |
static StringBuilder |
readEntirely(AtmosphereResource r) |
public static StringBuilder readEntirely(AtmosphereResource r)
public static String guestServletPath(AtmosphereConfig config)
public static String getCleanedServletPath(String fullServletPath)
fullServletPath - : Servlet mappingpublic static Class<?> loadClass(Class thisClass, String className) throws Exception
Exceptionpublic static boolean isAtmosphere(String className)
Copyright © 2014. All Rights Reserved.