| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| Modifier and Type | Field and Description |
|---|---|
protected WireParselet |
AbstractGeneratedMethodReader.debugLoggingParselet |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull WireParselet |
VanillaMethodReaderBuilder.createDefaultParselet(net.openhft.chronicle.core.onoes.ExceptionHandler exceptionHandlerOnUnknownMethod)
Deprecated.
|
static WireParselet |
VanillaMethodReaderBuilder.createDefaultParselet(net.openhft.chronicle.core.onoes.ExceptionHandler exceptionHandlerOnUnknownMethod,
Class<?> clazz)
Creates a default
WireParselet that handles unrecognized methods. |
WireParselet |
VanillaMethodReaderBuilder.defaultParselet() |
WireParselet |
WireParser.getDefaultConsumer()
Retrieves the
WireParselet used when a field name encountered in
the input does not match any explicitly registered parselet. |
WireParselet |
VanillaWireParser.getDefaultConsumer() |
WireParselet |
WireParser.lookup(CharSequence name)
Searches for the
WireParselet associated with the given field
name. |
WireParselet |
VanillaWireParser.lookup(CharSequence name)
Returns the parselet registered for
name or null if none. |
| Modifier and Type | Method and Description |
|---|---|
net.openhft.chronicle.bytes.MethodReaderBuilder |
VanillaMethodReaderBuilder.defaultParselet(WireParselet defaultParselet)
Sets a new default parselet.
|
@NotNull VanillaWireParser |
WireParser.register(String keyName,
WireParselet valueInConsumer)
Registers a
WireParselet to handle fields matching the provided
keyName. |
@NotNull VanillaWireParser |
VanillaWireParser.register(String keyName,
WireParselet valueInConsumer)
Registers
valueInConsumer to handle the field named keyName. |
default @NotNull VanillaWireParser |
WireParser.register(WireKey key,
WireParselet valueInConsumer)
Registers a
WireParselet to handle fields matching the supplied
WireKey. |
@NotNull VanillaWireParser |
VanillaWireParser.register(@NotNull WireKey key,
WireParselet valueInConsumer)
Registers
valueInConsumer for both the text and numeric forms of
key. |
default @NotNull VanillaWireParser |
WireParser.registerOnce(WireKey key,
WireParselet valueInConsumer)
Attempts to register a new
WireParselet for the supplied key. |
static @NotNull WireParser |
WireParser.wireParser(WireParselet defaultConsumer)
Creates a new
WireParser with a default consumer. |
static @NotNull WireParser |
WireParser.wireParser(@NotNull WireParselet defaultConsumer,
@NotNull FieldNumberParselet fieldNumberParselet)
Creates a new
WireParser with a default consumer and a custom
field number parselet. |
| Constructor and Description |
|---|
AbstractGeneratedMethodReader(MarshallableIn in,
WireParselet debugLoggingParselet)
Creates a reader for the supplied input.
|
VanillaMethodReader(MarshallableIn in,
boolean ignoreDefault,
WireParselet defaultParselet,
FieldNumberParselet fieldNumberParselet,
net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns,
Object... handlers)
Convenience constructor used by generated code.
|
VanillaMethodReader(MarshallableIn in,
boolean ignoreDefault,
WireParselet defaultParselet,
FieldNumberParselet fieldNumberParselet,
net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns,
Object[] metadataHandlers,
Object... handlers)
Constructor that defaults the predicate to always true.
|
VanillaMethodReader(MarshallableIn in,
boolean ignoreDefault,
WireParselet defaultParselet,
FieldNumberParselet fieldNumberParselet,
net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns,
Object[] metadataHandlers,
Predicate<net.openhft.chronicle.bytes.MethodReader> predicate,
Object... handlers)
Primary constructor configuring parsers and interceptors.
|
VanillaMethodReader(MarshallableIn in,
boolean ignoreDefault,
WireParselet defaultParselet,
net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns,
Object[] metadataHandlers,
Object... handlers)
Convenience constructor used by generated code.
|
VanillaWireParser(@NotNull WireParselet defaultConsumer,
@NotNull FieldNumberParselet fieldNumberParselet)
Creates a parser using the supplied handlers.
|
Copyright © 2026 Chronicle Software Ltd. All rights reserved.