Class ResourceLocatorHandler
java.lang.Object
org.jboss.resteasy.reactive.server.handlers.ResourceLocatorHandler
- All Implemented Interfaces:
ServerRestHandler
,RestHandler<ResteasyReactiveRequestContext>
-
Constructor Summary
ConstructorDescriptionResourceLocatorHandler
(Function<Class<?>, BeanFactory.BeanInstance<?>> instantiator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addResource
(Class<?> resourceClass, Map<String, RequestMapper<RuntimeResource>> requestMapper) void
handle
(ResteasyReactiveRequestContext requestContext)
-
Constructor Details
-
ResourceLocatorHandler
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceRestHandler<ResteasyReactiveRequestContext>
- Specified by:
handle
in interfaceServerRestHandler
- Throws:
Exception
-
addResource
public void addResource(Class<?> resourceClass, Map<String, RequestMapper<RuntimeResource>> requestMapper)
-