@Path(value="/tools/json_tester") @Produces(value="application/json") public class JsonTesterResource extends RestResource
userService
Constructor and Description |
---|
JsonTesterResource() |
Modifier and Type | Method and Description |
---|---|
JsonTesterResponse |
get(@NotEmpty String string,
boolean flatten,
@NotEmpty String listSeparator,
@NotEmpty String keySeparator,
boolean replaceKeyWhitespace,
String keyWhitespaceReplacement,
String keyPrefix,
@NotEmpty String kvSeparator) |
JsonTesterResponse |
post(@Valid @NotNull JsonTestRequest r) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@GET @Timed public JsonTesterResponse get(@QueryParam(value="string") @NotEmpty @NotEmpty String string, @QueryParam(value="flatten") @DefaultValue(value="false") boolean flatten, @QueryParam(value="list_separator") @NotEmpty @NotEmpty String listSeparator, @QueryParam(value="key_separator") @NotEmpty @NotEmpty String keySeparator, @QueryParam(value="replace_key_whitespace") boolean replaceKeyWhitespace, @QueryParam(value="key_whitespace_replacement") String keyWhitespaceReplacement, @QueryParam(value="key_prefix") String keyPrefix, @QueryParam(value="kv_separator") @NotEmpty @NotEmpty String kvSeparator)
@POST @Timed @Consumes(value="application/json") public JsonTesterResponse post(@Valid @NotNull @Valid @NotNull JsonTestRequest r)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.