Class ContextsResource

java.lang.Object
io.confluent.kafka.schemaregistry.rest.resources.ContextsResource

@Path("/contexts") @Produces({"application/vnd.schemaregistry.v1+json","application/vnd.schemaregistry+json; qs=0.9","application/json; qs=0.5"}) @Consumes({"application/vnd.schemaregistry.v1+json","application/vnd.schemaregistry+json","application/json","application/octet-stream"}) public class ContextsResource extends Object
  • Field Details

  • Constructor Details

    • ContextsResource

      @Inject public ContextsResource(SchemaRegistry schemaRegistry)
  • Method Details

    • listContexts

      @GET @DocumentedName("getAllContexts") @PerformanceMetric("contexts.list") public List<String> listContexts(@DefaultValue("0") @QueryParam("offset") int offset, @DefaultValue("-1") @QueryParam("limit") int limit, @QueryParam("contextPrefix") String contextPrefix)
    • deleteContext

      @DELETE @Path("/{context}") @DocumentedName("deleteContext") @PerformanceMetric("context.delete") public void deleteContext(@Suspended jakarta.ws.rs.container.AsyncResponse asyncResponse, @Context jakarta.ws.rs.core.HttpHeaders headers, @PathParam("context") String delimitedContext)