Package io.vertx.up.uca.rs
Interface Filler
- All Known Implementing Classes:
ContextFiller,CookieFiller,EmptyFiller,FormFiller,HeaderFiller,PathFiller,PointFiller,QueryFiller,SessionFiller
public interface Filler
「Co」Zero for JSR311 Arguments
There are a uniform request flow to get parameters to support JSR311 in zero framework, here I defined **Filler**
interface ( Fill argument into container, it's specific component )
1. In common request workflow, it provide standard `key = value` attributes into map.
2. For body/stream request workflow, there should be placeholder named `EmptyFiller` to taken the flow node and then continue for extracting.
For Standard JSR311, it support most parameter annotations and extend JSR311 for business requirement.
- Author:
- Lang
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Set<Class<? extends Annotation>>The type of parameters that will use `EmptyFiller` for taking place.static final ConcurrentMap<Class<? extends Annotation>,Supplier<Filler>> JSR311 Standard mapping from annotation to `Filler` component -
Method Summary
-
Field Details
-
CC_FILLTER
-
PARAMS
JSR311 Standard mapping from annotation to `Filler` component -
NO_VALUE
The type of parameters that will use `EmptyFiller` for taking place.
-
-
Method Details
-
supplier
-
apply
The major code logic to get the value of input field name here.- Parameters:
name- The parameter nameparamType- The parameter declared typedatum- The `RoutingContext` of Vert.x ( vertx-web )- Returns:
- The extracted value of parameter
-