@Path(value="/system/inputs/{inputId}/extractors")
public class ExtractorsResource
extends RestResource
objectMapper, serverStatus, userService| Constructor and Description |
|---|
ExtractorsResource(InputService inputService,
ActivityWriter activityWriter,
InputRegistry inputs,
com.codahale.metrics.MetricRegistry metricRegistry,
ExtractorFactory extractorFactory) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
create(java.lang.String body,
java.lang.String inputId) |
java.lang.String |
list(java.lang.String inputId) |
javax.ws.rs.core.Response |
order(java.lang.String body,
java.lang.String inputPersistId) |
void |
terminate(java.lang.String inputId,
java.lang.String extractorId) |
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public ExtractorsResource(InputService inputService, ActivityWriter activityWriter, InputRegistry inputs, com.codahale.metrics.MetricRegistry metricRegistry, ExtractorFactory extractorFactory)
@POST
@Timed
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response create(java.lang.String body,
@PathParam(value="inputId")
java.lang.String inputId)
throws NotFoundException
NotFoundException@GET
@Timed
@Produces(value="application/json")
public java.lang.String list(@PathParam(value="inputId")
java.lang.String inputId)
throws NotFoundException
NotFoundException@DELETE
@Timed
@Path(value="/{extractorId}")
@Produces(value="application/json")
public void terminate(@PathParam(value="inputId")
java.lang.String inputId,
@PathParam(value="extractorId")
java.lang.String extractorId)
throws NotFoundException
NotFoundException@POST
@Timed
@Consumes(value="application/json")
@Path(value="order")
public javax.ws.rs.core.Response order(java.lang.String body,
@PathParam(value="inputId")
java.lang.String inputPersistId)
throws NotFoundException
NotFoundExceptionCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.