public class OddjobApplication
extends javax.ws.rs.core.Application
This works in two modes depending on if id mappings are provided or not. Provided Id mappings means it's running with the new web application with web sockets. No id mappings means it's running standalone the old way as just a Rest Service.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_MAPPINGS_ATTRIBUTE_NAME |
static java.lang.String |
ROOT_ATTRIBUTE_NAME |
static java.lang.String |
SESSION_ATTRIBUTE_NAME |
static java.lang.String |
UPLOAD_DIR_ATTRIBUTE_NAME |
Constructor and Description |
---|
OddjobApplication() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.Object> |
getSingletons() |
public static final java.lang.String ROOT_ATTRIBUTE_NAME
public static final java.lang.String UPLOAD_DIR_ATTRIBUTE_NAME
public static final java.lang.String ID_MAPPINGS_ATTRIBUTE_NAME
public static final java.lang.String SESSION_ATTRIBUTE_NAME