Uses of Interface
org.apache.qpid.protonj2.codec.decoders.ScanningContext
Package
Description
-
Uses of ScanningContext in org.apache.qpid.protonj2.codec.decoders
Modifier and TypeMethodDescriptionprotected <KeyType> void
AbstractDescribedMapTypeDecoder.scanMapEntries
(ProtonBuffer buffer, DecoderState state, ScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) -
Uses of ScanningContext in org.apache.qpid.protonj2.codec.decoders.messaging
Modifier and TypeMethodDescriptionstatic ScanningContext<String>
ApplicationPropertiesTypeDecoder.createScanContext
(String... keys) Creates a new scanning context for the given collection ofString
values.static ScanningContext<String>
ApplicationPropertiesTypeDecoder.createScanContext
(Collection<String> keys) Creates a new scanning context for the given collection ofString
values.static ScanningContext<Symbol>
DeliveryAnnotationsTypeDecoder.createScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static ScanningContext<Symbol>
DeliveryAnnotationsTypeDecoder.createScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.static ScanningContext<Symbol>
FooterTypeDecoder.createScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static ScanningContext<Symbol>
FooterTypeDecoder.createScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.static ScanningContext<Symbol>
MessageAnnotationsTypeDecoder.createScanContext
(Collection<Symbol> keys) Creates a new scanning context for the given collection ofSymbol
values.static ScanningContext<Symbol>
MessageAnnotationsTypeDecoder.createScanContext
(Symbol... keys) Creates a new scanning context for the given collection ofSymbol
values.Modifier and TypeMethodDescriptionvoid
DeliveryAnnotationsTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedApplicationProperties
map looking for keys that match with the providedScanningContext
.void
FooterTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedFooter
map looking for keys that match with the providedScanningContext
.void
MessageAnnotationsTypeDecoder.scanAnnotations
(ProtonBuffer buffer, DecoderState state, ScanningContext<Symbol> context, BiConsumer<Symbol, Object> matchConsumer) Scans through the encodedMessageAnnotations
map looking for keys that match with the providedScanningContext
.void
ApplicationPropertiesTypeDecoder.scanProperties
(ProtonBuffer buffer, DecoderState state, ScanningContext<String> context, BiConsumer<String, Object> matchConsumer) Scans through the encodedApplicationProperties
map looking for keys that match with the providedScanningContext
. -
Uses of ScanningContext in org.apache.qpid.protonj2.codec.decoders.primitives
Modifier and TypeMethodDescription<KeyType> void
AbstractMapTypeDecoder.scanKeys
(ProtonBuffer buffer, DecoderState state, ScanningContext<KeyType> context, BiConsumer<KeyType, Object> matchConsumer) <KeyType> void
MapTypeDecoder.scanKeys
(ProtonBuffer buffer, DecoderState state, ScanningContext<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.