@Path(value="/tools/regex_replace_tester") public class RegexReplaceTesterResource extends RestResource
userService
Constructor and Description |
---|
RegexReplaceTesterResource() |
Modifier and Type | Method and Description |
---|---|
RegexReplaceTesterResponse |
regexTester(@NotEmpty String regex,
@NotNull String replacement,
boolean replaceAll,
@NotNull String string) |
RegexReplaceTesterResponse |
testRegex(@Valid @NotNull RegexReplaceTestRequest r) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@GET @Timed @Produces(value="application/json") public RegexReplaceTesterResponse regexTester(@QueryParam(value="regex") @NotEmpty @NotEmpty String regex, @QueryParam(value="replacement") @NotNull @NotNull String replacement, @QueryParam(value="replace_all") @DefaultValue(value="false") boolean replaceAll, @QueryParam(value="string") @NotNull @NotNull String string)
@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public RegexReplaceTesterResponse testRegex(@Valid @NotNull @Valid @NotNull RegexReplaceTestRequest r)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.