@Path(value="/views/search/messages") public class MessagesResource extends RestResource implements PluginRestResource
configuration, userService| Constructor and Description |
|---|
MessagesResource(MessagesExporter exporter,
CommandFactory commandFactory,
SearchDomain searchDomain,
SearchExecutionGuard executionGuard,
PermittedStreams permittedStreams,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.google.common.eventbus.EventBus eventBus,
ExportJobService exportJobService) |
| Modifier and Type | Method and Description |
|---|---|
org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> |
retrieve(@Valid MessagesRequest rawrequest) |
org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> |
retrieveForExportJob(String exportJobId) |
org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> |
retrieveForSearch(String searchId,
@Valid ResultFormat formatFromClient) |
org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> |
retrieveForSearchType(String searchId,
String searchTypeId,
@Valid ResultFormat formatFromClient) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public MessagesResource(MessagesExporter exporter, CommandFactory commandFactory, SearchDomain searchDomain, SearchExecutionGuard executionGuard, PermittedStreams permittedStreams, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.google.common.eventbus.EventBus eventBus, ExportJobService exportJobService)
@POST @Produces(value="text/csv") public org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> retrieve(@Valid @Valid MessagesRequest rawrequest)
@POST
@Path(value="{searchId}")
@Produces(value="text/csv")
public org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> retrieveForSearch(@PathParam(value="searchId")
String searchId,
@Valid
@Valid ResultFormat formatFromClient)
@POST
@Path(value="{searchId}/{searchTypeId}")
public org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> retrieveForSearchType(@PathParam(value="searchId")
String searchId,
@PathParam(value="searchTypeId")
String searchTypeId,
@Valid
@Valid ResultFormat formatFromClient)
@GET
@Path(value="job/{exportJobId}/{filename:.*}")
public org.glassfish.jersey.server.ChunkedOutput<SimpleMessageChunk> retrieveForExportJob(@PathParam(value="exportJobId")
String exportJobId)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.