Class DataNodeRestApiProxyResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.datanodes.DataNodeRestApiProxyResource

@RequiresAuthentication @Path("/datanodes/{hostname}/rest/{path: .*}") @Produces("application/json") @Timed @RequiresPermissions("datanode:restproxy") public class DataNodeRestApiProxyResource extends RestResource
  • Constructor Details

    • DataNodeRestApiProxyResource

      @Inject public DataNodeRestApiProxyResource(DatanodeRestApiProxy proxyRequestAdapter, @Named("datanode_proxy_api_allowlist") boolean enableAllowlist)
  • Method Details

    • requestGet

      @GET public jakarta.ws.rs.core.Response requestGet(@PathParam("path") String path, @PathParam("hostname") String hostname, @Context jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Throws:
      IOException
    • requestPost

      @POST public jakarta.ws.rs.core.Response requestPost(@PathParam("path") String path, @PathParam("hostname") String hostname, @Context jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Throws:
      IOException
    • requestPut

      @PUT public jakarta.ws.rs.core.Response requestPut(@PathParam("path") String path, @PathParam("hostname") String hostname, @Context jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Throws:
      IOException
    • requestDelete

      @DELETE public jakarta.ws.rs.core.Response requestDelete(@PathParam("path") String path, @PathParam("hostname") String hostname, @Context jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
      Throws:
      IOException