@Path(value="/tools/regex_tester") public class RegexTesterResource extends RestResource
configuration, userService| Constructor and Description |
|---|
RegexTesterResource() |
| Modifier and Type | Method and Description |
|---|---|
RegexTesterResponse |
regexTester(@NotEmpty String regex,
@NotNull String string) |
RegexTesterResponse |
testRegex(@Valid @NotNull RegexTestRequest regexTestRequest) |
RegexValidationResponse |
validateRegex(@NotEmpty String regex) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@GET @Timed @Produces(value="application/json") public RegexTesterResponse regexTester(@QueryParam(value="regex") @NotEmpty @NotEmpty String regex, @QueryParam(value="string") @NotNull @NotNull String string)
@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public RegexTesterResponse testRegex(@Valid @NotNull @Valid @NotNull RegexTestRequest regexTestRequest)
@GET @Path(value="/validate") @Timed @Produces(value="application/json") public RegexValidationResponse validateRegex(@QueryParam(value="regex") @NotEmpty @NotEmpty String regex)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.