Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistration fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.config.annotation ResourceHandlerRegistration fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.config.annotation ResourceHandlerRegistration.

The text is from its open source code.

Subclass

org.springframework.web.servlet.config.annotation.ResourceHandlerRegistration has subclasses.
Click this link to see all its subclasses.

Method

ResourceHandlerRegistrationaddResourceLocations(String... resourceLocations)
Add one or more resource locations from which to serve static content.
ResourceHandlerRegistrationsetCachePeriod(Integer cachePeriod)
Specify the cache period for the resources served by the resource handler, in seconds.