public class PathParamInjector extends Object implements ValueInjector
| Constructor and Description |
|---|
PathParamInjector(Class type,
Type genericType,
AccessibleObject target,
String paramName,
String defaultValue,
boolean encode,
Annotation[] annotations,
ResteasyProviderFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
inject(boolean unwrapAsync)
Inject outside the context of an HTTP request.
|
Object |
inject(HttpRequest request,
HttpResponse response,
boolean unwrapAsync)
Inject inside the context of an HTTP request.
|
public PathParamInjector(Class type, Type genericType, AccessibleObject target, String paramName, String defaultValue, boolean encode, Annotation[] annotations, ResteasyProviderFactory factory)
public Object inject(HttpRequest request, HttpResponse response, boolean unwrapAsync)
ValueInjectorinject in interface ValueInjectorrequest - http requestresponse - http responseunwrapAsync - unwrap asyncpublic Object inject(boolean unwrapAsync)
ValueInjectorinject in interface ValueInjectorunwrapAsync - unwrap asyncCopyright © 2020 JBoss by Red Hat. All rights reserved.