Class SchemaRegistryRestApplication

java.lang.Object
io.confluent.rest.Application<SchemaRegistryConfig>
io.confluent.kafka.schemaregistry.rest.SchemaRegistryRestApplication

public class SchemaRegistryRestApplication extends io.confluent.rest.Application<SchemaRegistryConfig>
  • Constructor Details

    • SchemaRegistryRestApplication

      public SchemaRegistryRestApplication(Properties props) throws io.confluent.rest.RestConfigException
      Throws:
      io.confluent.rest.RestConfigException
    • SchemaRegistryRestApplication

      public SchemaRegistryRestApplication(SchemaRegistryConfig config)
    • SchemaRegistryRestApplication

      public SchemaRegistryRestApplication(SchemaRegistryConfig config, io.spiffe.workloadapi.X509Source x509Source)
  • Method Details

    • getJsonMapper

      protected com.fasterxml.jackson.databind.ObjectMapper getJsonMapper()
      Overrides:
      getJsonMapper in class io.confluent.rest.Application<SchemaRegistryConfig>
    • configurePreResourceHandling

      protected void configurePreResourceHandling(org.eclipse.jetty.ee10.servlet.ServletContextHandler context)
      Overrides:
      configurePreResourceHandling in class io.confluent.rest.Application<SchemaRegistryConfig>
    • initSchemaRegistry

      protected SchemaRegistry initSchemaRegistry(SchemaRegistryConfig config)
    • postServerStart

      public void postServerStart()
    • configureBaseApplication

      public void configureBaseApplication(jakarta.ws.rs.core.Configurable<?> config, Map<String,String> metricTags)
      Overrides:
      configureBaseApplication in class io.confluent.rest.Application<SchemaRegistryConfig>
    • setupResources

      public void setupResources(jakarta.ws.rs.core.Configurable<?> config, SchemaRegistryConfig schemaRegistryConfig)
      Specified by:
      setupResources in class io.confluent.rest.Application<SchemaRegistryConfig>
    • registerInitResourceExtensions

      public void registerInitResourceExtensions(jakarta.ws.rs.core.Configurable<?> config, SchemaRegistryConfig schemaRegistryConfig)
    • getStaticResources

      protected Collection<org.eclipse.jetty.util.resource.Resource> getStaticResources()
      Overrides:
      getStaticResources in class io.confluent.rest.Application<SchemaRegistryConfig>
    • onShutdown

      public void onShutdown()
      Overrides:
      onShutdown in class io.confluent.rest.Application<SchemaRegistryConfig>
    • configureHandler

      public org.eclipse.jetty.server.Handler configureHandler()
      Overrides:
      configureHandler in class io.confluent.rest.Application<SchemaRegistryConfig>
    • logAllHandlers

      public static void logAllHandlers(org.eclipse.jetty.server.Handler handler)
    • schemaRegistry

      public SchemaRegistry schemaRegistry()