Annotation Interface PathRemainder
Identifies a POJO to be used as the path remainder (the part after the path match) on an HTTP request.
This is a specialized shortcut for
Can be used in the following locations:
- Arguments and argument-types of server-side
@RestOp -annotated methods. - Arguments and argument-types of client-side
@RemoteResource -annotated interfaces. - Methods and return types of server-side and client-side
@Request -annotated interfaces.
Arguments and argument-types of server-side @RestOp-annotated methods
Annotation that can be applied to a parameter of a
Example:
This is functionally equivalent to using
See Also:
Arguments and argument-types of client-side @RemoteResource-annotated interfaces
Annotation applied to Java method arguments of interface proxies to denote that they represent the path remainder on the request.
See Also:
Methods and return types of server-side and client-side @Request-annotated interfaces
See Also:
See Also:
- Since:
- 9.2.0
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefault value for this parameter.String[]Optional description for the exposed API.schema field of the Swagger Parameter Object.
-
Element Details
-
def
Default value for this parameter.- Returns:
- The annotation value.
- Default:
- ""
-
description
Optional description for the exposed API.- Returns:
- The annotation value.
- Default:
- {}
-
schema
schema field of the Swagger Parameter Object.The schema defining the type used for parameter.
The
@Schemaannotation can also be used standalone on the parameter or type. Values specified on this field override values specified on the type, and values specified on child types override values specified on parent types.Used for:
- Server-side schema-based parsing and parsing validation.
- Server-side generated Swagger documentation.
- Client-side schema-based serializing and serializing validation.
- Returns:
- The annotation value.
- Default:
- @org.apache.juneau.commons.Schema
-