Class ResourceLocatorInvoker
java.lang.Object
org.jboss.resteasy.core.ResourceLocatorInvoker
-
Field Summary
Modifier and TypeFieldDescriptionprotected ConcurrentHashMap
<Class<?>, LocatorRegistry> protected final boolean
protected InjectorFactory
protected ResourceLocator
protected MethodInjector
protected MethodStatisticsLogger
protected ResteasyProviderFactory
protected ResourceFactory
-
Constructor Summary
ConstructorDescriptionResourceLocatorInvoker
(ResourceFactory resource, InjectorFactory injector, ResteasyProviderFactory providerFactory, ResourceLocator locator) -
Method Summary
Modifier and TypeMethodDescriptionboolean
invoke
(HttpRequest request, HttpResponse response) invoke
(HttpRequest request, HttpResponse response, Object locator) protected BuiltResponse
invokeOnTargetObject
(HttpRequest request, HttpResponse response, Object target) protected Object
resolveTarget
(HttpRequest request, HttpResponse response) protected Object
resolveTargetFromLocator
(HttpRequest request, HttpResponse response, Object locator) void
-
Field Details
-
injector
-
methodInjector
-
resource
-
providerFactory
-
method
-
cachedSubresources
-
hasProduces
protected final boolean hasProduces -
methodStatisticsLogger
-
-
Constructor Details
-
ResourceLocatorInvoker
public ResourceLocatorInvoker(ResourceFactory resource, InjectorFactory injector, ResteasyProviderFactory providerFactory, ResourceLocator locator)
-
-
Method Details
-
hasProduces
public boolean hasProduces()- Specified by:
hasProduces
in interfaceResourceInvoker
-
resolveTarget
-
resolveTargetFromLocator
protected Object resolveTargetFromLocator(HttpRequest request, HttpResponse response, Object locator) -
getMethod
- Specified by:
getMethod
in interfaceResourceInvoker
-
invoke
- Specified by:
invoke
in interfaceResourceInvoker
-
invoke
- Specified by:
invoke
in interfaceResourceInvoker
-
invokeOnTargetObject
protected BuiltResponse invokeOnTargetObject(HttpRequest request, HttpResponse response, Object target) -
setMethodStatisticsLogger
- Specified by:
setMethodStatisticsLogger
in interfaceResourceInvoker
-
getMethodStatisticsLogger
- Specified by:
getMethodStatisticsLogger
in interfaceResourceInvoker
-