|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.core.Application
org.glassfish.jersey.server.ResourceConfig
public final class ResourceConfig
The resource configuration for configuring a web application.
| Nested Class Summary | |
|---|---|
static interface |
ResourceConfig.Builder
ResourceConfig builder. |
| Method Summary | |
|---|---|
static ResourceConfig.Builder |
builder()
|
static ResourceConfig.Builder |
builder(javax.ws.rs.core.Application application)
|
static ResourceConfig.Builder |
builder(Class<? extends javax.ws.rs.core.Application> applicationClass)
|
static ResourceConfig.Builder |
builder(ResourceConfig resourceConfig)
|
static ResourceConfig |
empty()
|
static ResourceConfig |
from(javax.ws.rs.core.Application application)
|
Set<Class<?>> |
getClasses()
Set of current resource and provider classes. |
static String[] |
getElements(String[] elements)
Get a canonical array of String elements from a String array where each entry may contain zero or more elements separated by ';'. |
static String[] |
getElements(String[] elements,
String delimiters)
Get a canonical array of String elements from a String array where each entry may contain zero or more elements separated by characters in delimiters string. |
static String[] |
getElements(String elements,
String delimiters)
Get a canonical array of String elements from a String that may contain zero or more elements separated by characters in delimiters string. |
Map<String,Object> |
getProperties()
|
Object |
getProperty(String name)
|
Set<Object> |
getSingletons()
Set of singletons. |
boolean |
isProperty(String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResourceConfig from(javax.ws.rs.core.Application application)
public static ResourceConfig empty()
public static ResourceConfig.Builder builder()
public static ResourceConfig.Builder builder(ResourceConfig resourceConfig)
public static ResourceConfig.Builder builder(javax.ws.rs.core.Application application)
public static ResourceConfig.Builder builder(Class<? extends javax.ws.rs.core.Application> applicationClass)
public Set<Class<?>> getClasses()
Set of current resource and provider classes.
Any modification to this list won't be reflected anywhere.
set.
getClasses in class javax.ws.rs.core.ApplicationSet of resource and provider classes.public Set<Object> getSingletons()
Set of singletons.
Any modification to this list won't be reflected anywhere.
set.
getSingletons in class javax.ws.rs.core.ApplicationSet of singletons.public Map<String,Object> getProperties()
getProperties in interface FeaturesAndPropertiespublic Object getProperty(String name)
getProperty in interface FeaturesAndPropertiespublic boolean isProperty(String name)
isProperty in interface FeaturesAndPropertiespublic static String[] getElements(String[] elements)
elements - an array where each String entry may contain zero or more
ServerProperties.COMMON_DELIMITERS separated elements.
public static String[] getElements(String[] elements,
String delimiters)
elements - an array where each String entry may contain zero or more
delimiters separated elements.delimiters - string with delimiters, every character represents one
delimiter.
public static String[] getElements(String elements,
String delimiters)
elements - a String that may contain zero or more
delimiters separated elements.delimiters - string with delimiters, every character represents one
delimiter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||