Interface StaticResourceProvider


public interface StaticResourceProvider
SPI to be able to register extensions that add static resource routes. See org.springframework.data.rest.webmvc.halexplorer.HalExplorerConfiguration in the HAL Explorer module.
Since:
3.2
Author:
Oliver Drotbohm
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customizeResources(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry, RepositoryRestConfiguration configuration)
    Customize the given ResourceHandlerRegistry.
  • Method Details

    • customizeResources

      void customizeResources(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry, RepositoryRestConfiguration configuration)
      Customize the given ResourceHandlerRegistry.
      Parameters:
      registry - must not be null.
      configuration - must not be null.