public class ResourceHttpMessageReader extends DecoderHttpMessageReader<Resource>
"Content-Disposition"
ヘッダーからファイル名を抽出し、それを ResourceDecoder.FILENAME_HINT
として渡す ResourceDecoder
にラップおよび委譲する HttpMessageReader
。コンストラクターと説明 |
---|
ResourceHttpMessageReader() |
ResourceHttpMessageReader(ResourceDecoder resourceDecoder) |
修飾子と型 | メソッドと説明 |
---|---|
protected MapSE<StringSE, ObjectSE> | getReadHints(ResolvableType elementType, ReactiveHttpInputMessage message) 入力 HTTP メッセージに基づいてデコードするための追加のヒントを取得します。 |
protected MapSE<StringSE, ObjectSE> | getReadHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response) たとえば、サーバーリクエストまたはコントローラーメソッドパラメーターからのアノテーションに基づいて、デコードの追加のヒントを取得します。 |
canRead, getContentType, getDecoder, getReadableMediaTypes, getReadableMediaTypes, read, read, readMono, readMono
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public ResourceHttpMessageReader()
public ResourceHttpMessageReader(ResourceDecoder resourceDecoder)
protected MapSE<StringSE,ObjectSE> getReadHints(ResolvableType elementType, ReactiveHttpInputMessage message)
DecoderHttpMessageReader
DecoderHttpMessageReader<Resource>
の getReadHints
protected MapSE<StringSE,ObjectSE> getReadHints(ResolvableType actualType, ResolvableType elementType, ServerHttpRequest request, ServerHttpResponse response)
DecoderHttpMessageReader
HttpMessageDecoder
のインスタンスである場合はデコーダーに委譲します。DecoderHttpMessageReader<Resource>
の getReadHints