Class ConfigurationImpl
- java.lang.Object
-
- org.jboss.resteasy.reactive.common.jaxrs.ConfigurationImpl
-
- All Implemented Interfaces:
javax.ws.rs.core.Configuration
public class ConfigurationImpl extends Object implements javax.ws.rs.core.Configuration
-
-
Field Summary
Fields Modifier and Type Field Description static List<javax.ws.rs.core.MediaType>
WILDCARD_LIST
static List<String>
WILDCARD_STRING_LIST
-
Constructor Summary
Constructors Constructor Description ConfigurationImpl(javax.ws.rs.core.Configuration configuration)
ConfigurationImpl(javax.ws.rs.RuntimeType runtimeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEnabledFeature(javax.ws.rs.core.Feature feature)
Set<Class<?>>
getClasses()
Map<Class<?>,Integer>
getContracts(Class<?> componentClass)
Set<Object>
getInstances()
Map<String,Object>
getProperties()
Object
getProperty(String name)
Collection<String>
getPropertyNames()
List<javax.ws.rs.ext.ReaderInterceptor>
getReaderInterceptors()
List<javax.ws.rs.client.ClientRequestFilter>
getRequestFilters()
javax.ws.rs.core.MultivaluedMap<Class<?>,ResourceReader>
getResourceReaders()
javax.ws.rs.core.MultivaluedMap<Class<?>,ResourceWriter>
getResourceWriters()
List<javax.ws.rs.client.ClientResponseFilter>
getResponseFilters()
javax.ws.rs.RuntimeType
getRuntimeType()
javax.ws.rs.client.RxInvokerProvider<?>
getRxInvokerProvider(Class<?> wantedClass)
List<javax.ws.rs.ext.WriterInterceptor>
getWriterInterceptors()
boolean
isEnabled(Class<? extends javax.ws.rs.core.Feature> featureClass)
boolean
isEnabled(javax.ws.rs.core.Feature feature)
boolean
isRegistered(Class<?> componentClass)
boolean
isRegistered(Object component)
void
property(String name, Object value)
void
register(Class<?> componentClass)
void
register(Class<?> componentClass, int priority)
void
register(Class<?> componentClass, Class<?>... contracts)
void
register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
void
register(Object component)
void
register(Object component, int priority)
void
register(Object component, Class<?>[] contracts)
void
register(Object component, Map<Class<?>,Integer> componentContracts)
String
toString(Object value)
-
-
-
Method Detail
-
getRuntimeType
public javax.ws.rs.RuntimeType getRuntimeType()
- Specified by:
getRuntimeType
in interfacejavax.ws.rs.core.Configuration
-
getProperties
public Map<String,Object> getProperties()
- Specified by:
getProperties
in interfacejavax.ws.rs.core.Configuration
-
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interfacejavax.ws.rs.core.Configuration
-
getPropertyNames
public Collection<String> getPropertyNames()
- Specified by:
getPropertyNames
in interfacejavax.ws.rs.core.Configuration
-
isEnabled
public boolean isEnabled(javax.ws.rs.core.Feature feature)
- Specified by:
isEnabled
in interfacejavax.ws.rs.core.Configuration
-
isEnabled
public boolean isEnabled(Class<? extends javax.ws.rs.core.Feature> featureClass)
- Specified by:
isEnabled
in interfacejavax.ws.rs.core.Configuration
-
isRegistered
public boolean isRegistered(Object component)
- Specified by:
isRegistered
in interfacejavax.ws.rs.core.Configuration
-
isRegistered
public boolean isRegistered(Class<?> componentClass)
- Specified by:
isRegistered
in interfacejavax.ws.rs.core.Configuration
-
getContracts
public Map<Class<?>,Integer> getContracts(Class<?> componentClass)
- Specified by:
getContracts
in interfacejavax.ws.rs.core.Configuration
-
getClasses
public Set<Class<?>> getClasses()
- Specified by:
getClasses
in interfacejavax.ws.rs.core.Configuration
-
getInstances
public Set<Object> getInstances()
- Specified by:
getInstances
in interfacejavax.ws.rs.core.Configuration
-
addEnabledFeature
public void addEnabledFeature(javax.ws.rs.core.Feature feature)
-
register
public void register(Class<?> componentClass)
-
register
public void register(Class<?> componentClass, int priority)
-
register
public void register(Object component)
-
register
public void register(Object component, int priority)
-
getRequestFilters
public List<javax.ws.rs.client.ClientRequestFilter> getRequestFilters()
-
getResponseFilters
public List<javax.ws.rs.client.ClientResponseFilter> getResponseFilters()
-
getWriterInterceptors
public List<javax.ws.rs.ext.WriterInterceptor> getWriterInterceptors()
-
getReaderInterceptors
public List<javax.ws.rs.ext.ReaderInterceptor> getReaderInterceptors()
-
getRxInvokerProvider
public javax.ws.rs.client.RxInvokerProvider<?> getRxInvokerProvider(Class<?> wantedClass)
-
getResourceReaders
public javax.ws.rs.core.MultivaluedMap<Class<?>,ResourceReader> getResourceReaders()
-
getResourceWriters
public javax.ws.rs.core.MultivaluedMap<Class<?>,ResourceWriter> getResourceWriters()
-
-