Class PathParamInjector
java.lang.Object
org.jboss.resteasy.core.PathParamInjector
- All Implemented Interfaces:
ValueInjector
- Version:
- $Revision: 1 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate StringParameterInjectorprivate Stringprivate booleanprivate booleanprivate booleanprivate Class -
Constructor Summary
ConstructorsConstructorDescriptionPathParamInjector(Class type, Type genericType, AccessibleObject target, String paramName, String defaultValue, boolean encode, Annotation[] annotations, ResteasyProviderFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionprivate List<javax.ws.rs.core.PathSegment> flattenToList(List<javax.ws.rs.core.PathSegment[]> list) inject()Inject outside the context of an HTTP request.inject(HttpRequest request, HttpResponse response) Inject inside the context of an HTTP request.private booleanisPathSegmentArray(Class type) private booleanisPathSegmentList(Class type, Type genericType)
-
Field Details
-
extractor
-
paramName
-
encode
private boolean encode -
type
-
pathSegment
private boolean pathSegment -
pathSegmentArray
private boolean pathSegmentArray -
pathSegmentList
private boolean pathSegmentList
-
-
Constructor Details
-
PathParamInjector
public PathParamInjector(Class type, Type genericType, AccessibleObject target, String paramName, String defaultValue, boolean encode, Annotation[] annotations, ResteasyProviderFactory factory)
-
-
Method Details
-
isPathSegmentArray
-
isPathSegmentList
-
inject
Description copied from interface:ValueInjectorInject inside the context of an HTTP request.- Specified by:
injectin interfaceValueInjector- Parameters:
request-response-- Returns:
-
inject
Description copied from interface:ValueInjectorInject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.- Specified by:
injectin interfaceValueInjector- Returns:
-
flattenToList
-