Interface HttpResource
- All Superinterfaces:
InputStreamSource, Resource
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP headers to be contributed to the HTTP response that serves the current resource.Methods inherited from interface InputStreamSource
getInputStream
Methods inherited from interface Resource
contentLength, createRelative, exists, getContentAsByteArray, getContentAsString, getDescription, getFile, getFilename, getFilePath, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel
-
Method Details
-
getResponseHeaders
HttpHeaders getResponseHeaders()The HTTP headers to be contributed to the HTTP response that serves the current resource.- Returns:
- the HTTP response headers
-