Class SessionsResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.SessionsResource

@Path("/system/sessions") @Consumes("application/json") @Produces("application/json") public class SessionsResource extends RestResource
  • Constructor Details

  • Method Details

    • newSession

      @POST public javax.ws.rs.core.Response newSession(@Context javax.ws.rs.container.ContainerRequestContext requestContext, @NotNull @NotNull com.fasterxml.jackson.databind.JsonNode createRequest)
    • validateSession

      @GET public javax.ws.rs.core.Response validateSession(@Context javax.ws.rs.container.ContainerRequestContext requestContext)
    • terminateSessionWithId

      @DELETE @Path("/{sessionId}") @RequiresAuthentication @Deprecated public javax.ws.rs.core.Response terminateSessionWithId(@PathParam("sessionId") String sessionId, @Context javax.ws.rs.container.ContainerRequestContext requestContext)
      Deprecated.
    • terminateSession

      @DELETE @RequiresAuthentication public javax.ws.rs.core.Response terminateSession(@Context javax.ws.rs.container.ContainerRequestContext requestContext)