public class Jaxb2XmlDecoder extends AbstractDecoder<ObjectSE>
Object(POJO)のストリームにデコードします。Jaxb2XmlEncoderlogger| コンストラクターと説明 |
|---|
Jaxb2XmlDecoder() |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | canDecode(ResolvableType elementType, MimeType mimeType) デコーダーが特定のターゲット要素型とソースストリームの MIME 型をサポートするかどうか。 |
reactor.core.publisher.Flux<ObjectSE> | decode(org.reactivestreams.Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, MapSE<StringSE, ObjectSE> hints)DataBuffer 入力ストリームを T の Flux にデコードします。 |
reactor.core.publisher.Mono<ObjectSE> | decodeToMono(org.reactivestreams.Publisher<DataBuffer> inputStream, ResolvableType elementType, MimeType mimeType, MapSE<StringSE, ObjectSE> hints)DataBuffer 入力ストリームを T の Mono にデコードします。 |
FunctionSE<UnmarshallerSE, UnmarshallerSE> | getUnmarshallerProcessor()Unmarshaller インスタンスをカスタマイズするために構成されたプロセッサーを返します。 |
void | setUnmarshallerProcessor(FunctionSE<UnmarshallerSE, UnmarshallerSE> processor)Unmarshaller インスタンスをカスタマイズするようにプロセッサー機能を構成します。 |
getDecodableMimeTypes, getLogger, setLoggercloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic void setUnmarshallerProcessor(FunctionSE<UnmarshallerSE,UnmarshallerSE> processor)
processor - 使用する関数 public FunctionSE<UnmarshallerSE,UnmarshallerSE> getUnmarshallerProcessor()
public boolean canDecode(ResolvableType elementType, @Nullable MimeType mimeType)
Decoderpublic reactor.core.publisher.Flux<ObjectSE> decode(org.reactivestreams.Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable MapSE<StringSE,ObjectSE> hints)
DecoderDataBuffer 入力ストリームを T の Flux にデコードします。inputStream - デコードする DataBuffer 入力ストリーム elementType - 出力ストリーム内の要素の予想される型。この型は、事前に Decoder.canDecode(org.springframework.core.ResolvableType, org.springframework.util.MimeType) メソッドに渡されている必要があり、true を返している必要があります。mimeType - 入力ストリームに関連付けられた MIME 型 (オプション)hints - エンコード方法に関する追加情報 public reactor.core.publisher.Mono<ObjectSE> decodeToMono(org.reactivestreams.Publisher<DataBuffer> inputStream, ResolvableType elementType, @Nullable MimeType mimeType, @Nullable MapSE<StringSE,ObjectSE> hints)
DecoderDataBuffer 入力ストリームを T の Mono にデコードします。Decoder<ObjectSE> 内の decodeToMono AbstractDecoder<ObjectSE> の decodeToMono inputStream - デコードする DataBuffer 入力ストリーム elementType - 出力ストリーム内の要素の予想される型。この型は、事前に Decoder.canDecode(org.springframework.core.ResolvableType, org.springframework.util.MimeType) メソッドに渡されている必要があり、true を返している必要があります。mimeType - 入力ストリームに関連付けられた MIME 型 (オプション)hints - エンコード方法に関する追加情報