Uses of Class
org.apache.juneau.marshall.MarshallingSession
Packages that use MarshallingSession
Package
Description
Juneau
@Marshalled types for the
HAL (Hypertext Application Language)
hypermedia format, also covered by
draft-kelly-json-hal-08.Juneau
@Marshalled types for the
JSON:API v1.1 wire format.JSON Schema Data Transfer Objects
OpenAPI UI Generator
Swagger UI Generator
Configuration Support
Marshalling API
BSON (Binary JSON) marshalling support.
CBOR (Concise Binary Object Representation) marshalling support per RFC 8949.
Collections classes.
CSV Marshalling Support
Hjson (Human JSON) format serializer and parser for Apache Juneau.
HOCON (Human-Optimized Config Object Notation) format serializer and parser for Apache Juneau.
HTML Marshalling Support
INI format serializer and parser for Apache Juneau.
Internal Utilities
JCS (JSON Canonicalization Scheme) Marshalling Support.
RDF Marshalling Support
JSON Marshalling Support.
JSON5 Marshalling Support.
JSON5L (JSON5 Lines) marshalling support.
JSONL (JSON Lines) marshalling support.
JSON-Schema Marshalling Support
Markdown serializer and parser support for Apache Juneau.
MessagePack Marshalling Support
OpenAPI Marshalling Support
Apache Parquet serialization and parsing support.
Parser API
Plaintext Marshalling Support
Serializer API
SOAP/XML Marshalling Support
Server-Sent Events (SSE) marshalling support —
text/event-stream.Swap API
Predefined Swaps
TOML v1.0.0 serializer and parser for Apache Juneau.
UON Marshalling Support
URL-Encoding Marshalling Support
XML Marshalling Support
YAML Marshalling Support
REST Client API
Mocked REST client and supporting classes for in-JVM testing built on the classic Apache HttpClient API.
REST Server API
HTML Widget API
-
Uses of MarshallingSession in org.apache.juneau.bean.hal
Methods in org.apache.juneau.bean.hal with parameters of type MarshallingSessionModifier and TypeMethodDescriptionHalLinkOrArraySwap.swap(MarshallingSession session, Object o) HalResourceOrArraySwap.swap(MarshallingSession session, Object o) HalLinkOrArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) HalResourceOrArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
Uses of MarshallingSession in org.apache.juneau.bean.jsonapi
Methods in org.apache.juneau.bean.jsonapi with parameters of type MarshallingSessionModifier and TypeMethodDescriptionJsonApiLinkOrStringSwap.swap(MarshallingSession session, Object o) JsonApiLinkOrStringSwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
Uses of MarshallingSession in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema with parameters of type MarshallingSessionModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.swap(MarshallingSession session, Object o) JsonSchema.BooleanOrSchemaSwap.swap(MarshallingSession session, Object o) JsonSchema.JsonSchemaOrSchemaArraySwap.swap(MarshallingSession session, Object o) JsonSchema.JsonTypeOrJsonTypeArraySwap.swap(MarshallingSession session, Object o) JsonSchema.BooleanOrSchemaArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.BooleanOrSchemaSwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonSchemaOrSchemaArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonTypeOrJsonTypeArraySwap.unswap(MarshallingSession session, Object o, ClassMeta<?> hint) -
Uses of MarshallingSession in org.apache.juneau.bean.openapi3.ui
Methods in org.apache.juneau.bean.openapi3.ui with parameters of type MarshallingSessionModifier and TypeMethodDescriptionOpenApiUI.swap(MarshallingSession marshallingSession, OpenApi openApi) RedocUI.swap(MarshallingSession session, OpenApi openApi) -
Uses of MarshallingSession in org.apache.juneau.bean.swagger.ui
Methods in org.apache.juneau.bean.swagger.ui with parameters of type MarshallingSessionModifier and TypeMethodDescriptionSwaggerUI.swap(MarshallingSession marshallingSession, Swagger swagger) -
Uses of MarshallingSession in org.apache.juneau.config
Fields in org.apache.juneau.config declared as MarshallingSession -
Uses of MarshallingSession in org.apache.juneau.marshall
Subclasses of MarshallingSession in org.apache.juneau.marshallModifier and TypeClassDescriptionclassContextSession that lives for the duration of a single use ofMarshallingTraverseContext.Fields in org.apache.juneau.marshall declared as MarshallingSessionModifier and TypeFieldDescriptionstatic final MarshallingSessionMarshallingContext.DEFAULT_SESSIONDefault reusable unmodifiable session.Methods in org.apache.juneau.marshall that return MarshallingSessionModifier and TypeMethodDescriptionMarshallingSession.Builder.build()Build the object.MarshallingContext.getSession()Methods in org.apache.juneau.marshall with parameters of type MarshallingSessionModifier and TypeMethodDescriptionBuilderSwap<T,?> ClassMeta.getBuilderSwap(MarshallingSession session) Returns the builder swap associated with this class.ClassMeta.getExample(MarshallingSession session, JsonParserSession jpSession) Returns the example of this class.ClassMeta<?>ClassMeta.getSerializedClassMeta(MarshallingSession session) Returns the serialized (swapped) form of this class if there is anObjectSwapassociated with it.ObjectSwap<T,?> ClassMeta.getSwap(MarshallingSession session) Returns theObjectSwapassociated with this class that's the best match for the specified session. -
Uses of MarshallingSession in org.apache.juneau.marshall.bson
Subclasses of MarshallingSession in org.apache.juneau.marshall.bsonModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofBsonParser.classSession object that lives for the duration of a single use ofBsonSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.cbor
Subclasses of MarshallingSession in org.apache.juneau.marshall.cborModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofCborParser.classSession object that lives for the duration of a single use ofCborSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.collections
Methods in org.apache.juneau.marshall.collections that return MarshallingSessionModifier and TypeMethodDescriptionprotected MarshallingSessionMarshalledList.bs()Returns theMarshallingSessionassociated with this list (lazily defaults toMarshallingContext.DEFAULT_SESSION).protected MarshallingSessionMarshalledMap.bs()Returns theMarshallingSessionassociated with this map (lazily defaults toMarshallingContext.DEFAULT_SESSION).MarshalledList.getMarshallingSession()Returns theMarshallingSessioncurrently associated with this list.MarshalledMap.getMarshallingSession()Returns theMarshallingSessioncurrently associated with this map.Methods in org.apache.juneau.marshall.collections with parameters of type MarshallingSessionModifier and TypeMethodDescriptionprotected JsonMapJsonMap.newMarshalledMap(MarshallingSession bs) protected MarshalledMapMarshalledMap.newMarshalledMap(MarshallingSession bs) Factory hook used byMarshalledMap.cast(Class)/MarshalledMap.cast(ClassMeta)when the target map type cannot be instantiated directly (e.g. when the caller asks for theMapinterface).JsonList.session(MarshallingSession session) JsonMap.session(MarshallingSession session) MarshalledList.session(MarshallingSession session) Override the default bean session used for converting POJOs.MarshalledMap.session(MarshallingSession session) Override the default bean session used for converting POJOs.ResolvingMarshalledMap.session(MarshallingSession session) JsonList.setBeanSession(MarshallingSession value) JsonMap.setBeanSession(MarshallingSession value) MarshalledList.setBeanSession(MarshallingSession value) Sets theMarshallingSessioncurrently associated with this list.MarshalledMap.setBeanSession(MarshallingSession value) Sets theMarshallingSessioncurrently associated with this map.ResolvingMarshalledMap.setBeanSession(MarshallingSession value) Constructors in org.apache.juneau.marshall.collections with parameters of type MarshallingSessionModifierConstructorDescriptionJsonList(MarshallingSession session) Construct an empty list with the specified bean context.JsonMap(MarshallingSession session) Construct an empty map with the specified bean context.MarshalledList(MarshallingSession session) Construct an empty list with the specified bean context.MarshalledMap(MarshallingSession session) Construct an empty map with the specified bean context. -
Uses of MarshallingSession in org.apache.juneau.marshall.csv
Subclasses of MarshallingSession in org.apache.juneau.marshall.csvModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofCsvParser.classSession object that lives for the duration of a single use ofCsvSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.hjson
Subclasses of MarshallingSession in org.apache.juneau.marshall.hjsonModifier and TypeClassDescriptionclassSession for parsing Hjson format into POJOs.classSession for serializing objects to Hjson format. -
Uses of MarshallingSession in org.apache.juneau.marshall.hocon
Subclasses of MarshallingSession in org.apache.juneau.marshall.hoconModifier and TypeClassDescriptionclassSession for parsing HOCON format into POJOs.classSession for serializing objects to HOCON format. -
Uses of MarshallingSession in org.apache.juneau.marshall.html
Subclasses of MarshallingSession in org.apache.juneau.marshall.htmlModifier and TypeClassDescriptionclassContext object that lives for the duration of a single serialization ofHtmlSerializerand its subclasses.classContextSession object that lives for the duration of a single use ofHtmlParser.classContext object that lives for the duration of a single serialization ofHtmlSchemaDocSerializerand its subclasses.classContext object that lives for the duration of a single serialization ofHtmlSchemaSerializerand its subclasses.classSession object that lives for the duration of a single use ofHtmlSerializer.classSession object that lives for the duration of a single use ofHtmlStrippedDocSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.ini
Subclasses of MarshallingSession in org.apache.juneau.marshall.iniModifier and TypeClassDescriptionclassSession for parsing INI format into POJOs.classSession for serializing objects to INI format. -
Uses of MarshallingSession in org.apache.juneau.marshall.internal
Constructors in org.apache.juneau.marshall.internal with parameters of type MarshallingSessionModifierConstructorDescriptionDelegateBeanMap(T bean, MarshallingSession session) Constructor.DelegateMap(T m, MarshallingSession session) Constructor. -
Uses of MarshallingSession in org.apache.juneau.marshall.jcs
Subclasses of MarshallingSession in org.apache.juneau.marshall.jcsModifier and TypeClassDescriptionclassSession object forJcsSerializerthat produces RFC 8785 canonical JSON. -
Uses of MarshallingSession in org.apache.juneau.marshall.jena
Subclasses of MarshallingSession in org.apache.juneau.marshall.jenaModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofRdfParser.classSession object that lives for the duration of a single use ofRdfSerializer.classSession object that lives for the duration of a single use ofRdfStreamParser.classSession for stream-based RDF serialization (binary formats like RDF/THRIFT, RDF/PROTO). -
Uses of MarshallingSession in org.apache.juneau.marshall.json
Subclasses of MarshallingSession in org.apache.juneau.marshall.jsonModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJsonParser.classSession object that lives for the duration of a single use ofJsonSchemaSerializer.classSession object that lives for the duration of a single use ofJsonSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.json5
Subclasses of MarshallingSession in org.apache.juneau.marshall.json5Modifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJson5Parser.classSession object that lives for the duration of a single use ofJson5Serializer.Methods in org.apache.juneau.marshall.json5 with parameters of type MarshallingSessionModifier and TypeMethodDescriptionprotected Json5MapJson5Map.newMarshalledMap(MarshallingSession bs) Json5List.session(MarshallingSession session) Json5Map.session(MarshallingSession session) Json5List.setBeanSession(MarshallingSession value) Json5Map.setBeanSession(MarshallingSession value) Constructors in org.apache.juneau.marshall.json5 with parameters of type MarshallingSessionModifierConstructorDescriptionJson5List(MarshallingSession session) Construct an empty list with the specified bean context.Json5Map(MarshallingSession session) Construct an empty map with the specified bean context. -
Uses of MarshallingSession in org.apache.juneau.marshall.json5l
Subclasses of MarshallingSession in org.apache.juneau.marshall.json5lModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJson5lParser.classSession object that lives for the duration of a single use ofJson5lSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.jsonl
Subclasses of MarshallingSession in org.apache.juneau.marshall.jsonlModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJsonlParser.classSession object that lives for the duration of a single use ofJsonlSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.jsonschema
Subclasses of MarshallingSession in org.apache.juneau.marshall.jsonschemaModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJsonSchemaSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.markdown
Subclasses of MarshallingSession in org.apache.juneau.marshall.markdownModifier and TypeClassDescriptionclassSession object forMarkdownDocParser.classSession object forMarkdownDocSerializer.classSession object forMarkdownParser.classSession object forMarkdownSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.msgpack
Subclasses of MarshallingSession in org.apache.juneau.marshall.msgpackModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofMsgPackParser.classSession object that lives for the duration of a single use ofMsgPackSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.oapi
Subclasses of MarshallingSession in org.apache.juneau.marshall.oapiModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofOpenApiParser.classSession object that lives for the duration of a single use ofOpenApiSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.parquet
Subclasses of MarshallingSession in org.apache.juneau.marshall.parquetModifier and TypeClassDescriptionclassSession forParquetParser.classSession forParquetSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.parser
Subclasses of MarshallingSession in org.apache.juneau.marshall.parserModifier and TypeClassDescriptionclassSubclass of parser session objects for byte-based parsers.classSession object that lives for the duration of a single use ofParser.classSubclass of parser session objects for character-based parsers. -
Uses of MarshallingSession in org.apache.juneau.marshall.plaintext
Subclasses of MarshallingSession in org.apache.juneau.marshall.plaintextModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofPlainTextParser.classSession object that lives for the duration of a single use ofPlainTextSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.serializer
Subclasses of MarshallingSession in org.apache.juneau.marshall.serializerModifier and TypeClassDescriptionclassSubclass ofSerializerSessionfor stream-based serializers.classSerializer session that lives for the duration of a single use ofSerializer.classSubclass ofSerializerSessionfor character-based serializers. -
Uses of MarshallingSession in org.apache.juneau.marshall.soap
Subclasses of MarshallingSession in org.apache.juneau.marshall.soapModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofSoapXmlSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.sse
Subclasses of MarshallingSession in org.apache.juneau.marshall.sseModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofSseParser.classSession object that lives for the duration of a single use ofSseSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.swap.spi
Methods in org.apache.juneau.marshall.swap.spi with parameters of type MarshallingSessionModifier and TypeMethodDescriptionBuilderSwap.build(MarshallingSession session, B builder, ClassMeta<?> hint) Creates a new object from the specified builder.BuilderSwap.create(MarshallingSession session, ClassMeta<?> hint) Creates a new builder object.ClassMeta<?>BuilderSwap.getBuilderClassMeta(MarshallingSession session) Returns theClassMetaof the transformed class type.ClassMeta<?>ObjectSwap.getSwapClassMeta(MarshallingSession session) Returns theClassMetaof the transformed class type.intObjectSwap.match(MarshallingSession session) Returns a number indicating how well this swap matches the specified session.List<?>AutoListSwap.swap(MarshallingSession session, Object o) Map<?,?> AutoMapSwap.swap(MarshallingSession session, Object o) AutoNumberSwap.swap(MarshallingSession session, Object o) AutoObjectSwap.swap(MarshallingSession session, Object o) AutoStringSwap.swap(MarshallingSession session, T o) FunctionalSwap.swap(MarshallingSession session, T o, String template) ObjectSwap.swap(MarshallingSession session, T o) If this transform is to be used to serialize non-serializable objects, it must implement this method.ObjectSwap.swap(MarshallingSession session, T o, String template) Same asObjectSwap.swap(MarshallingSession, Object), but can be used if your swap has a template associated with it.SurrogateSwap.swap(MarshallingSession session, T o) AutoListSwap.unswap(MarshallingSession session, List<?> o, ClassMeta<?> hint) AutoMapSwap.unswap(MarshallingSession session, Map<?, ?> o, ClassMeta<?> hint) AutoNumberSwap.unswap(MarshallingSession session, Number o, ClassMeta<?> hint) AutoObjectSwap.unswap(MarshallingSession session, Object f, ClassMeta<?> hint) AutoStringSwap.unswap(MarshallingSession session, String s, ClassMeta<?> hint) FunctionalSwap.unswap(MarshallingSession session, S f, ClassMeta<?> hint, String template) ObjectSwap.unswap(MarshallingSession session, S f, ClassMeta<?> hint) If this transform is to be used to reconstitute objects that aren't true Java beans, it must implement this method.ObjectSwap.unswap(MarshallingSession session, S f, ClassMeta<?> hint, String template) Same asObjectSwap.unswap(MarshallingSession, Object, ClassMeta), but can be used if your swap has a template associated with it.SurrogateSwap.unswap(MarshallingSession session, F f, ClassMeta<?> hint) -
Uses of MarshallingSession in org.apache.juneau.marshall.swaps
Methods in org.apache.juneau.marshall.swaps with parameters of type MarshallingSessionModifier and TypeMethodDescriptionintBinarySwap.match(MarshallingSession session) BinarySwap.swap(MarshallingSession session, byte[] o) ClassFormatSwap.swap(MarshallingSession session, Class<?> o) InputStreamSwap.Base64.swap(MarshallingSession session, InputStream is) Converts the specifiedInputStreamto aString.InputStreamSwap.Hex.swap(MarshallingSession session, InputStream is) Converts the specifiedInputStreamto aString.InputStreamSwap.SpacedHex.swap(MarshallingSession session, InputStream is) Converts the specifiedInputStreamto aString.MarshallingStringSwap.swap(MarshallingSession session, T o) Converts the specified bean to aString.MatchResultSwap.swap(MarshallingSession session, MatchResult o) Converts the specifiedEnumerationto aList.ParsedReaderSwap.swap(MarshallingSession session, Reader o) ReaderSwap.swap(MarshallingSession session, Reader r) Converts the specifiedInputStreamto aString.StackTraceElementSwap.swap(MarshallingSession session, StackTraceElement o) Converts the specifiedEnumerationto aList.StringFormatSwap.swap(MarshallingSession session, Object o) UrlSwap.swap(MarshallingSession session, URL o) byte[]BinarySwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) Class<?>ClassFormatSwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.Hex.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.SpacedHex.unswap(MarshallingSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.StackTraceElementSwap.unswap(MarshallingSession session, String in, ClassMeta<?> hint) StringFormatSwap.unswap(MarshallingSession session, String f, ClassMeta<?> hint) UrlSwap.unswap(MarshallingSession session, String o, ClassMeta<?> hint) -
Uses of MarshallingSession in org.apache.juneau.marshall.toml
Subclasses of MarshallingSession in org.apache.juneau.marshall.tomlModifier and TypeClassDescriptionclassSession for parsing TOML into POJOs.classSession for serializing objects to TOML format. -
Uses of MarshallingSession in org.apache.juneau.marshall.uon
Subclasses of MarshallingSession in org.apache.juneau.marshall.uonModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofUonParser.classSession object that lives for the duration of a single use ofUonSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.urlencoding
Subclasses of MarshallingSession in org.apache.juneau.marshall.urlencodingModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofUrlEncodingParser.classSession object that lives for the duration of a single use ofUrlEncodingSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.xml
Subclasses of MarshallingSession in org.apache.juneau.marshall.xmlModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofXmlDocSerializer.classSession object that lives for the duration of a single use ofXmlParser.classSession object that lives for the duration of a single use ofXmlSerializer. -
Uses of MarshallingSession in org.apache.juneau.marshall.yaml
Subclasses of MarshallingSession in org.apache.juneau.marshall.yamlModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofYamlParser.classSession object that lives for the duration of a single use ofYamlSerializer. -
Uses of MarshallingSession in org.apache.juneau.rest.client.classic
Subclasses of MarshallingSession in org.apache.juneau.rest.client.classicModifier and TypeClassDescriptionclassRepresents a request to a remote REST resource. -
Uses of MarshallingSession in org.apache.juneau.rest.mock.classic
Subclasses of MarshallingSession in org.apache.juneau.rest.mock.classicModifier and TypeClassDescriptionclassA subclass ofRestRequestwith additional features for mocked testing. -
Uses of MarshallingSession in org.apache.juneau.rest.server
Methods in org.apache.juneau.rest.server that return MarshallingSessionModifier and TypeMethodDescriptionRestRequest.getMarshallingSession()Returns theMarshallingSessionassociated with this request. -
Uses of MarshallingSession in org.apache.juneau.rest.server.widget
Methods in org.apache.juneau.rest.server.widget with parameters of type MarshallingSession