Class SubstringTesterResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.tools.SubstringTesterResource

@RequiresAuthentication @Path("/tools/substring_tester") public class SubstringTesterResource extends RestResource
  • 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)