Class VertxRegistry
java.lang.Object
org.jboss.resteasy.plugins.server.vertx.VertxRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addJndiResource
(String jndiName) Add a JAX-RS endpoint that exists in JNDI.void
addJndiResource
(String jndiName, String basePath) Add a JAX-RS endpoint that exists in JNDI.void
addJndiResource
(String jndiName, ResourceClass resourceClass) void
addJndiResource
(String jndiName, ResourceClass resourceClass, String basePath) void
addPerInstanceResource
(Class<?> clazz) void
addPerInstanceResource
(Class<?> clazz, String basePath) void
addPerInstanceResource
(ResourceClass resourceClass) void
addPerInstanceResource
(ResourceClass resourceClass, String basePath) void
addPerRequestResource
(Class<?> clazz) Add a JAX-RS endpoint.void
addPerRequestResource
(Class<?> clazz, String basePath) Add a JAX-RS endpoint.void
void
addPerRequestResource
(ResourceClass clazz, String basePath) void
Add a custom resource implementation endpoint.void
addResourceFactory
(ResourceFactory ref, String basePath) Add a custom resource implementation endpoint.void
addResourceFactory
(ResourceFactory ref, String base, Class<?> clazz) ResourceFactory.getScannableClass() is not used, only the clazz parameter and not any implemented interfaces of the clazz parameter.void
addResourceFactory
(ResourceFactory ref, String base, Class<?>[] classes) void
addResourceFactory
(ResourceFactory rf, String base, ResourceClass resourceClass) void
addSingletonResource
(Object singleton) Add a JAX-RS endpoint.void
addSingletonResource
(Object singleton, String basePath) Add a JAX-RS endpoint.void
addSingletonResource
(Object singleton, ResourceClass resourceClass) void
addSingletonResource
(Object singleton, ResourceClass resourceClass, String basePath) void
getResourceInvoker
(HttpRequest request) int
getSize()
void
removeRegistrations
(Class<?> clazz) void
removeRegistrations
(Class<?> clazz, String base) void
removeRegistrations
(ResourceClass resourceClass) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.spi.Registry
addPerRequestResource, addResourceFactory, addResourceFactory, addResourceFactory, addResourceFactory
-
Constructor Details
-
VertxRegistry
-
-
Method Details
-
addPerInstanceResource
-
addPerInstanceResource
-
addPerInstanceResource
-
addPerInstanceResource
-
addPerRequestResource
Description copied from interface:Registry
Add a JAX-RS endpoint. Objects of clazz will be created and destroy and the beginning/end of every request.- Specified by:
addPerRequestResource
in interfaceRegistry
- Parameters:
clazz
- class
-
addPerRequestResource
Description copied from interface:Registry
Add a JAX-RS endpoint. Objects of clazz will be created and destroy and the beginning/end of every request.- Specified by:
addPerRequestResource
in interfaceRegistry
- Parameters:
clazz
- classbasePath
- prefix path of resource
-
addSingletonResource
Description copied from interface:Registry
Add a JAX-RS endpoint.- Specified by:
addSingletonResource
in interfaceRegistry
- Parameters:
singleton
- resource
-
addSingletonResource
Description copied from interface:Registry
Add a JAX-RS endpoint.- Specified by:
addSingletonResource
in interfaceRegistry
- Parameters:
singleton
- resourcebasePath
- prefix path of resource
-
addJndiResource
Description copied from interface:Registry
Add a JAX-RS endpoint that exists in JNDI.- Specified by:
addJndiResource
in interfaceRegistry
- Parameters:
jndiName
- JNDI name
-
addJndiResource
Description copied from interface:Registry
Add a JAX-RS endpoint that exists in JNDI.- Specified by:
addJndiResource
in interfaceRegistry
- Parameters:
jndiName
- JNDI namebasePath
- prefix path of resource
-
addResourceFactory
Description copied from interface:Registry
Add a custom resource implementation endpoint.- Specified by:
addResourceFactory
in interfaceRegistry
- Parameters:
ref
- resource factory
-
addResourceFactory
Description copied from interface:Registry
Add a custom resource implementation endpoint.- Specified by:
addResourceFactory
in interfaceRegistry
- Parameters:
ref
- resource factorybasePath
- prefix path of resource
-
addResourceFactory
Description copied from interface:Registry
ResourceFactory.getScannableClass() is not used, only the clazz parameter and not any implemented interfaces of the clazz parameter.- Specified by:
addResourceFactory
in interfaceRegistry
- Parameters:
ref
- resource factorybase
- base URI path for any resources provided by the factory, in addition to rootPathclazz
- specific class
-
addResourceFactory
- Specified by:
addResourceFactory
in interfaceRegistry
-
removeRegistrations
- Specified by:
removeRegistrations
in interfaceRegistry
-
removeRegistrations
- Specified by:
removeRegistrations
in interfaceRegistry
-
getSize
-
getResourceInvoker
- Specified by:
getResourceInvoker
in interfaceRegistry
-
addResourceFactory
- Specified by:
addResourceFactory
in interfaceRegistry
-
removeRegistrations
- Specified by:
removeRegistrations
in interfaceRegistry
-
addPerRequestResource
- Specified by:
addPerRequestResource
in interfaceRegistry
-
addPerRequestResource
- Specified by:
addPerRequestResource
in interfaceRegistry
-
addSingletonResource
- Specified by:
addSingletonResource
in interfaceRegistry
-
addSingletonResource
- Specified by:
addSingletonResource
in interfaceRegistry
-
addJndiResource
- Specified by:
addJndiResource
in interfaceRegistry
-
addJndiResource
- Specified by:
addJndiResource
in interfaceRegistry
-
checkAmbiguousUri
public void checkAmbiguousUri()- Specified by:
checkAmbiguousUri
in interfaceRegistry
-