@Path(value="/ccompat/subjects") @Consumes(value={"application/json","application/vnd.schemaregistry.v1+json"}) @Produces(value={"application/json","application/vnd.schemaregistry.v1+json"}) @Counted(name="rest_request_count", description="Total number of REST requests.", tags={"group=REST","metric=rest_request_count"}) @ConcurrentGauge(name="concurrent_request_count", description="Number of concurrent REST requests.", tags={"group=REST","metric=concurrent_request_count"}) @Timed(name="rest_response_time", description="Time of a request-response interval.", tags={"group=REST","metric=rest_response_time"}, unit="milliseconds") public class SubjectsResource extends AbstractResource
log
Constructor and Description |
---|
SubjectsResource() |
Modifier and Type | Method and Description |
---|---|
void |
deleteSubject(javax.ws.rs.container.AsyncResponse response,
javax.ws.rs.core.HttpHeaders headers,
String subject) |
void |
findSchemaWithSubject(javax.ws.rs.container.AsyncResponse response,
String subject,
boolean checkDeletedSchema,
@NotNull RegisterSchemaRequest request) |
Set<String> |
listSubjects() |
checkSubject
@POST @Path(value="/{subject}") public void findSchemaWithSubject(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam(value="subject") String subject, @QueryParam(value="deleted") boolean checkDeletedSchema, @NotNull @NotNull RegisterSchemaRequest request) throws Exception
Exception
Copyright © 2020 Red Hat. All rights reserved.