spring-framework / org.springframework.web.reactive.resource / HttpResource

HttpResource

interface HttpResource : Resource

Extended interface for a Resource to be written to an HTTP response.

Author
Brian Clozel

Since
5.0

Functions

getResponseHeaders

abstract fun getResponseHeaders(): HttpHeaders

The HTTP headers to be contributed to the HTTP response that serves the current resource.