public class EverrestServletContextInitializer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.ServletContext |
ctx |
static String |
EVERREST_SCAN_COMPONENTS |
static String |
EVERREST_SCAN_SKIP_PACKAGES |
static String |
JAXRS_APPLICATION |
| Constructor and Description |
|---|
EverrestServletContextInitializer(javax.servlet.ServletContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Application |
getApplication()
Try get application's FQN from context-param javax.ws.rs.Application and instantiate it.
|
protected boolean |
getBoolean(String name,
boolean def) |
EverrestConfiguration |
getConfiguration() |
protected Double |
getNumber(String name,
double def) |
protected String |
getParameter(String name)
Get parameter with specified name from servlet context initial parameters.
|
protected String |
getParameter(String name,
String def) |
protected List<String> |
getParameterNames() |
public static final String EVERREST_SCAN_COMPONENTS
public static final String EVERREST_SCAN_SKIP_PACKAGES
public static final String JAXRS_APPLICATION
protected final javax.servlet.ServletContext ctx
public EverrestServletContextInitializer(javax.servlet.ServletContext ctx)
public javax.ws.rs.core.Application getApplication()
Path, Provider and Filter .public EverrestConfiguration getConfiguration()
protected String getParameter(String name)
name - parameter nameprotected boolean getBoolean(String name, boolean def)
Copyright © 2012–2016 Codenvy, S.A.. All rights reserved.