public class Contexts
extends java.lang.Object
Constructor and Description |
---|
Contexts() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHostname(StandardContext ctx) |
static java.io.File |
realWarPath(Context standardContext) |
static java.lang.String |
toAppContext(ServletContext servletContext,
java.lang.String contextPath) |
static java.lang.String |
toAppContext(StandardContext standardContext) |
static java.io.File |
warPath(Context standardContext) |
public static java.lang.String toAppContext(ServletContext servletContext, java.lang.String contextPath)
public static java.lang.String toAppContext(StandardContext standardContext)
public static java.lang.String getHostname(StandardContext ctx)
public static java.io.File warPath(Context standardContext)
public static java.io.File realWarPath(Context standardContext)