Annotation Type ComponentValue
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface ComponentValueAnnotation that indicates method parameter should be bound to some component value of the HTTP server.- Since:
- 1.3
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanrequiredReturns whether the component value is required.java.lang.Class<? extends HttpServerComponent>valueReturns the type of the component.
-
-
-
Element Detail
-
value
java.lang.Class<? extends HttpServerComponent> value
Returns the type of the component.Default value is
HttpServerComponent.class.- Returns:
- the type of the component.
- Default:
- com.github.fmjsjx.libnetty.http.server.component.HttpServerComponent.class
-
-