Class PathRemainderArg

java.lang.Object
org.apache.juneau.rest.server.arg.PathRemainderArg
All Implemented Interfaces:
RestOpArg

public class PathRemainderArg extends Object implements RestOpArg
Resolves method parameters annotated with PathRemainder on RestOp-annotated Java methods.

This is a specialized version of PathArg for the path remainder (the part matched by /*). It's functionally equivalent to using @Path("/*"), but provides a more intuitive annotation name.

The parameter value is resolved using:

opSession .getRequest() .getPathParams() .get("/*") .as(type);

schema is derived from the PathRemainder annotation.

See Also:
Since:
9.2.0