@Controller @Requires(property="spec.name", value="HttpServerFilterTest") public static class HttpServerFilterTest.MyController extends Object
Constructor and Description |
---|
MyController() |
Modifier and Type | Method and Description |
---|---|
String |
open(HttpRequest<?> request) |
String |
rolesAllowed(HttpRequest<?> request) |
@RolesAllowed(value="ROLE_ADMIN") @Get(value="/http-server-filter-test") public String rolesAllowed(HttpRequest<?> request)
@Get(value="/open") public String open(HttpRequest<?> request)