Package org.apache.juneau.rest.arg
Class PathArg
java.lang.Object
org.apache.juneau.rest.arg.PathArg
- All Implemented Interfaces:
- RestOpArg
Resolves method parameters and parameter types annotated with 
Path on RestOp-annotated Java methods.
 The parameter value is resolved using:
   getRequest()
      .getPathParams()
      .get(as(
 schema is derived from the Path annotation.
 
See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPathArg(ParamInfo paramInfo, AnnotationWorkList annotations, UrlPathMatcher pathMatcher) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PathArgcreate(ParamInfo paramInfo, AnnotationWorkList annotations, UrlPathMatcher pathMatcher) Static creator.resolve(RestOpSession opSession) Resolves the parameter object.
- 
Constructor Details- 
PathArgConstructor.- Parameters:
- paramInfo- The Java method parameter being resolved.
- annotations- The annotations to apply to any new part parsers.
- pathMatcher- Path matcher for the specified method.
 
 
- 
- 
Method Details- 
createpublic static PathArg create(ParamInfo paramInfo, AnnotationWorkList annotations, UrlPathMatcher pathMatcher) Static creator.
- 
resolveDescription copied from interface:RestOpArgResolves the parameter object.
 
-