Class SubstringTesterResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.tools.SubstringTesterResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsubstringTester
(@javax.validation.constraints.Min(0L) int beginIndex, @javax.validation.constraints.Min(1L) int endIndex, @NotNull String string) testSubstring
(@Valid @NotNull SubstringTestRequest substringTestRequest) Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
SubstringTesterResource
public SubstringTesterResource()
-
-
Method Details
-
substringTester
@GET @Timed @Produces("application/json") public SubstringTesterResponse substringTester(@QueryParam("begin_index") @Min(0L) @javax.validation.constraints.Min(0L) int beginIndex, @QueryParam("end_index") @Min(1L) @javax.validation.constraints.Min(1L) int endIndex, @QueryParam("string") @NotNull @NotNull String string) -
testSubstring
@POST @Timed @Consumes("application/json") @Produces("application/json") public SubstringTesterResponse testSubstring(@Valid @NotNull @Valid @NotNull SubstringTestRequest substringTestRequest)
-