@Singleton public class SystemFileEncoder extends AbstractFileEncoder<io.micronaut.http.server.types.files.SystemFile>
ServletResponseEncoder for SystemFile.| Constructor and Description |
|---|
SystemFileEncoder() |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> |
encode(ServletExchange<?,?> exchange,
io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
io.micronaut.http.server.types.files.SystemFile value)
Encode the given value.
|
java.lang.Class<io.micronaut.http.server.types.files.SystemFile> |
getResponseType() |
ifNotModified, setDateAndCacheHeaders, setDateHeaderpublic java.lang.Class<io.micronaut.http.server.types.files.SystemFile> getResponseType()
public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> encode(@Nonnull
ServletExchange<?,?> exchange,
io.micronaut.core.annotation.AnnotationMetadata annotationMetadata,
@Nonnull
io.micronaut.http.server.types.files.SystemFile value)
ServletResponseEncoderexchange - The changeannotationMetadata - The annotation metadata declared on the methodvalue - The value to encode