Package org.onlab.rest
Class AbstractWebApplication
- java.lang.Object
-
- javax.ws.rs.core.Application
-
- org.onlab.rest.AbstractWebApplication
-
public abstract class AbstractWebApplication extends javax.ws.rs.core.Application
Base web application.
-
-
Constructor Summary
Constructors Constructor Description AbstractWebApplication()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Set<java.lang.Class<?>>
getClasses()
protected java.util.Set<java.lang.Class<?>>
getClasses(java.lang.Class<?>... classes)
Returns the aggregate set of resources, writers and mappers combined with a default set of such web entities.
-
-
-
Method Detail
-
getClasses
protected java.util.Set<java.lang.Class<?>> getClasses(java.lang.Class<?>... classes)
Returns the aggregate set of resources, writers and mappers combined with a default set of such web entities.- Parameters:
classes
- set of resources, writers and mappers- Returns:
- combined set of web entities
-
getClasses
public abstract java.util.Set<java.lang.Class<?>> getClasses()
- Overrides:
getClasses
in classjavax.ws.rs.core.Application
-
-