Uses of Interface
org.apache.qpid.protonj2.codec.decoders.StreamScanningContext
Package
Description
-
Uses of StreamScanningContext in org.apache.qpid.protonj2.codec.decoders
Modifier and TypeMethodDescriptionprotected <KeyType> void
AbstractDescribedMapTypeDecoder.scanMapEntries
(InputStream stream, StreamDecoderState state, StreamScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) -
Uses of StreamScanningContext in org.apache.qpid.protonj2.codec.decoders.messaging
Modifier and TypeMethodDescriptionstatic StreamScanningContext<String>
ApplicationPropertiesTypeDecoder.createStreamScanContext
(String... keys) Creates a new scanning context for the given collection ofString
values.static StreamScanningContext<String>
ApplicationPropertiesTypeDecoder.createStreamScanContext
(Collection<String> keys) Creates a new scanning context for the given collection ofString
values.static StreamScanningContext<Symbol>
DeliveryAnnotationsTypeDecoder.createStreamScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static StreamScanningContext<Symbol>
DeliveryAnnotationsTypeDecoder.createStreamScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.static StreamScanningContext<Symbol>
FooterTypeDecoder.createStreamScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static StreamScanningContext<Symbol>
FooterTypeDecoder.createStreamScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.static StreamScanningContext<Symbol>
MessageAnnotationsTypeDecoder.createStreamScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static StreamScanningContext<Symbol>
MessageAnnotationsTypeDecoder.createStreamScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.Modifier and TypeMethodDescriptionvoid
DeliveryAnnotationsTypeDecoder.scanAnnotations
(InputStream stream, StreamDecoderState state, StreamScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedDeliveryAnnotations
map looking for keys that match with the providedScanningContext
.void
FooterTypeDecoder.scanAnnotations
(InputStream stream, StreamDecoderState state, StreamScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedFooter
map looking for keys that match with the providedScanningContext
.void
MessageAnnotationsTypeDecoder.scanAnnotations
(InputStream stream, StreamDecoderState state, StreamScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedMessageAnnotations
map looking for keys that match with the providedScanningContext
.void
ApplicationPropertiesTypeDecoder.scanProperties
(InputStream stream, StreamDecoderState state, StreamScanningContext<String> context, BiConsumer<String, Object> matchConsumer) Scans through the encodedApplicationProperties
map looking for keys that match with the providedScanningContext
. -
Uses of StreamScanningContext in org.apache.qpid.protonj2.codec.decoders.primitives
Modifier and TypeMethodDescription<KeyType> void
AbstractMapTypeDecoder.scanKeys
(InputStream stream, StreamDecoderState state, StreamScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) <KeyType> void
MapTypeDecoder.scanKeys
(InputStream stream, StreamDecoderState state, StreamScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) Scan the encodedMap
keys matching on predetermined key value encodings to quickly find mappings that are of interest and then only decoding the value portion of the matched key / value pair.