@Path(value="/system/inputs/types") @Produces(value="application/json") public class InputTypesResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
InputTypesResource(MessageInputFactory messageInputFactory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,InputTypeInfo> |
all() |
InputTypeInfo |
info(String inputType) |
InputTypesSummary |
types() |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public InputTypesResource(MessageInputFactory messageInputFactory)
@GET @Timed public InputTypesSummary types()
@GET @Timed @Path(value="/all") public Map<String,InputTypeInfo> all()
@GET
@Timed
@Path(value="{inputType}")
public InputTypeInfo info(@PathParam(value="inputType")
String inputType)
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.