@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited public @interface JuneauRestRoot
The annotation can be used in two places:
Bean
-annotated methods on configuration beans.
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends RestServlet>[] |
servlets
Specifies one or more implementations of
RestServlet to deploy as servlets. |
public abstract Class<? extends RestServlet>[] servlets
RestServlet
to deploy as servlets.
This method is only applicable when used on the source class of a Spring Boot application.
Copyright © 2018 Apache. All rights reserved.