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 TypeMethodDescriptionvoid
customizeResources
(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry, RepositoryRestConfiguration configuration) Customize the givenResourceHandlerRegistry
.
-
Method Details
-
customizeResources
void customizeResources(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry, RepositoryRestConfiguration configuration) Customize the givenResourceHandlerRegistry
.- Parameters:
registry
- must not be null.configuration
- must not be null.
-