@Path(value="/system/radios") @Consumes(value="application/json") @Produces(value="application/json") public class RadiosResource extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
RadiosResource() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
persistedInputs(String radioId) |
void |
ping(String radioId,
PingRequest pr) |
RadioSummary |
radio(String radioId) |
Map<String,Object> |
radios() |
javax.ws.rs.core.Response |
registerInput(String radioId,
RegisterInputRequest rir) |
void |
unregisterInput(String radioId,
String inputId) |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint@GET
@Timed
@Path(value="/{radioId}")
public RadioSummary radio(@PathParam(value="radioId")
String radioId)
@POST
@Timed
@Path(value="/{radioId}/inputs")
public javax.ws.rs.core.Response registerInput(@PathParam(value="radioId")
String radioId,
@NotNull
RegisterInputRequest rir)
throws ValidationException
ValidationException@DELETE
@Timed
@Path(value="/{radioId}/inputs/{inputId}")
public void unregisterInput(@PathParam(value="radioId")
String radioId,
@PathParam(value="inputId")
String inputId)
throws NotFoundException
NotFoundException@GET
@Timed
@Path(value="/{radioId}/inputs")
public Map<String,Object> persistedInputs(@PathParam(value="radioId")
String radioId)
@PUT
@Timed
@Path(value="/{radioId}/ping")
public void ping(@PathParam(value="radioId")
String radioId,
@NotNull
PingRequest pr)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.