Uses of Class
com.fasterxml.jackson.core.io.IOContext
-
Packages that use IOContext Package Description com.fasterxml.jackson.core Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonGenerator) instances.com.fasterxml.jackson.core.base Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).com.fasterxml.jackson.core.io com.fasterxml.jackson.core.json JSON-specific parser and generator implementation classes that Jackson defines and uses.com.fasterxml.jackson.core.json.async Non-blocking ("async") JSON parser implementation. -
-
Uses of IOContext in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return IOContext Modifier and Type Method Description protected IOContextJsonFactory. _createContext(java.lang.Object srcRef, boolean resourceManaged)Overridable factory method that actually instantiates desired context object.protected IOContextJsonFactory. _createNonBlockingContext(java.lang.Object srcRef)Overridable factory method that actually instantiates desired context object for async (non-blocking) parsingMethods in com.fasterxml.jackson.core with parameters of type IOContext Modifier and Type Method Description protected JsonGeneratorJsonFactory. _createGenerator(java.io.Writer out, IOContext ctxt)Overridable factory method that actually instantiates generator for givenWriterand context object.protected JsonParserJsonFactory. _createParser(byte[] data, int offset, int len, IOContext ctxt)Overridable factory method that actually instantiates parser using givenReaderobject for reading content passed as raw byte array.protected JsonParserJsonFactory. _createParser(char[] data, int offset, int len, IOContext ctxt, boolean recyclable)Overridable factory method that actually instantiates parser using givenchar[]object for accessing content.protected JsonParserJsonFactory. _createParser(java.io.DataInput input, IOContext ctxt)Optional factory method, expected to be overriddenprotected JsonParserJsonFactory. _createParser(java.io.InputStream in, IOContext ctxt)Overridable factory method that actually instantiates desired parser givenInputStreamand context object.protected JsonParserJsonFactory. _createParser(java.io.Reader r, IOContext ctxt)Overridable factory method that actually instantiates parser using givenReaderobject for reading content.protected JsonGeneratorJsonFactory. _createUTF8Generator(java.io.OutputStream out, IOContext ctxt)Overridable factory method that actually instantiates generator for givenOutputStreamand context object, using UTF-8 encoding.protected java.io.WriterJsonFactory. _createWriter(java.io.OutputStream out, JsonEncoding enc, IOContext ctxt)protected java.io.DataInputJsonFactory. _decorate(java.io.DataInput in, IOContext ctxt)protected java.io.InputStreamJsonFactory. _decorate(java.io.InputStream in, IOContext ctxt)protected java.io.OutputStreamJsonFactory. _decorate(java.io.OutputStream out, IOContext ctxt)protected java.io.ReaderJsonFactory. _decorate(java.io.Reader in, IOContext ctxt)protected java.io.WriterJsonFactory. _decorate(java.io.Writer out, IOContext ctxt) -
Uses of IOContext in com.fasterxml.jackson.core.base
Fields in com.fasterxml.jackson.core.base declared as IOContext Modifier and Type Field Description protected IOContextParserBase. _ioContextI/O context for this reader.Constructors in com.fasterxml.jackson.core.base with parameters of type IOContext Constructor Description ParserBase(IOContext ctxt, int features) -
Uses of IOContext in com.fasterxml.jackson.core.io
Fields in com.fasterxml.jackson.core.io declared as IOContext Modifier and Type Field Description protected IOContextUTF32Reader. _contextMethods in com.fasterxml.jackson.core.io that return IOContext Modifier and Type Method Description IOContextIOContext. withEncoding(JsonEncoding enc)Methods in com.fasterxml.jackson.core.io with parameters of type IOContext Modifier and Type Method Description abstract java.io.InputStreamInputDecorator. decorate(IOContext ctxt, byte[] src, int offset, int length)Method called byJsonFactoryinstance when creating parser on given "raw" byte source.java.io.DataInputInputDecorator. decorate(IOContext ctxt, java.io.DataInput input)Method called byJsonFactoryinstance when creating parser given anDataInput, when this decorator has been registered.abstract java.io.InputStreamInputDecorator. decorate(IOContext ctxt, java.io.InputStream in)Method called byJsonFactoryinstance when creating parser given anInputStream, when this decorator has been registered.abstract java.io.ReaderInputDecorator. decorate(IOContext ctxt, java.io.Reader r)Method called byJsonFactoryinstance when creating parser given anReader, when this decorator has been registered.abstract java.io.OutputStreamOutputDecorator. decorate(IOContext ctxt, java.io.OutputStream out)Method called byJsonFactoryinstance when creating generator for givenOutputStream, when this decorator has been registered.abstract java.io.WriterOutputDecorator. decorate(IOContext ctxt, java.io.Writer w)Method called byJsonFactoryinstance when creating generator for givenWriter, when this decorator has been registered.Constructors in com.fasterxml.jackson.core.io with parameters of type IOContext Constructor Description MergedStream(IOContext ctxt, java.io.InputStream in, byte[] buf, int start, int end)UTF32Reader(IOContext ctxt, java.io.InputStream in, byte[] buf, int ptr, int len, boolean isBigEndian)UTF8Writer(IOContext ctxt, java.io.OutputStream out) -
Uses of IOContext in com.fasterxml.jackson.core.json
Fields in com.fasterxml.jackson.core.json declared as IOContext Modifier and Type Field Description protected IOContextJsonGeneratorImpl. _ioContextConstructors in com.fasterxml.jackson.core.json with parameters of type IOContext Constructor Description ByteSourceJsonBootstrapper(IOContext ctxt, byte[] inputBuffer, int inputStart, int inputLen)ByteSourceJsonBootstrapper(IOContext ctxt, java.io.InputStream in)JsonGeneratorImpl(IOContext ctxt, int features, ObjectCodec codec)ReaderBasedJsonParser(IOContext ctxt, int features, java.io.Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)Method called when input comes as aReader, and buffer allocation can be done using default mechanism.ReaderBasedJsonParser(IOContext ctxt, int features, java.io.Reader r, ObjectCodec codec, CharsToNameCanonicalizer st, char[] inputBuffer, int start, int end, boolean bufferRecyclable)Method called when caller wants to provide input buffer directly, and it may or may not be recyclable use standard recycle context.UTF8DataInputJsonParser(IOContext ctxt, int features, java.io.DataInput inputData, ObjectCodec codec, ByteQuadsCanonicalizer sym, int firstByte)UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.OutputStream out)Deprecated.UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)Deprecated.UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.OutputStream out, char quoteChar)UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.OutputStream out, char quoteChar, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)UTF8StreamJsonParser(IOContext ctxt, int features, java.io.InputStream in, ObjectCodec codec, ByteQuadsCanonicalizer sym, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)Deprecated.Since 2.10UTF8StreamJsonParser(IOContext ctxt, int features, java.io.InputStream in, ObjectCodec codec, ByteQuadsCanonicalizer sym, byte[] inputBuffer, int start, int end, int bytesPreProcessed, boolean bufferRecyclable)WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.Writer w)Deprecated.WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, java.io.Writer w, char quoteChar) -
Uses of IOContext in com.fasterxml.jackson.core.json.async
Constructors in com.fasterxml.jackson.core.json.async with parameters of type IOContext Constructor Description NonBlockingJsonParser(IOContext ctxt, int parserFeatures, ByteQuadsCanonicalizer sym)NonBlockingJsonParserBase(IOContext ctxt, int parserFeatures, ByteQuadsCanonicalizer sym)
-