Package org.infinispan.client.rest
Interface RestSchemaClient
- All Known Implementing Classes:
RestSchemasClientOkHttp
public interface RestSchemaClient
Operations for protobuf schema handling.
- Since:
- 11.0
-
Method Summary
Modifier and TypeMethodDescriptionDELETE a schema by name.GET a schema by name.names()Obtains the names of the registered schemas.POST a schema with the supplied name and contents.post(String schemaName, RestEntity schemaContents) POST a schema with the supplied name and contents.PUT a schema with the supplied name and contents.put(String schemaName, RestEntity schemaContents) PUT a schema with the supplied name and contents.types()Obtains the names of the types.
-
Method Details
-
names
CompletionStage<RestResponse> names()Obtains the names of the registered schemas. -
types
CompletionStage<RestResponse> types()Obtains the names of the types. -
post
POST a schema with the supplied name and contents. -
post
POST a schema with the supplied name and contents. -
put
PUT a schema with the supplied name and contents. -
put
PUT a schema with the supplied name and contents. -
delete
DELETE a schema by name. -
get
GET a schema by name.
-