Uses of Class
org.apache.juneau.BeanSession
Packages that use BeanSession
Package
Description
JSON Schema Data Transfer Objects
CSV Marshalling Support
REST Server API
REST Client API
REST Server Mock API
HTML Widget API
-
Uses of BeanSession in org.apache.juneau
Subclasses of BeanSession in org.apache.juneauModifier and TypeClassDescriptionclass
ContextSession that lives for the duration of a single use ofBeanTraverseContext
.Fields in org.apache.juneau declared as BeanSessionModifier and TypeFieldDescriptionstatic final BeanSession
BeanContext.DEFAULT_SESSION
Default reusable unmodifiable session.Methods in org.apache.juneau that return BeanSessionModifier and TypeMethodDescriptionBeanSession.Builder.build()
Build the object.final BeanSession
BeanMap.getBeanSession()
Returns the bean session that created this bean map.BeanContext.getSession()
Methods in org.apache.juneau with parameters of type BeanSessionModifier and TypeMethodDescriptionBuilderSwap<T,
?> ClassMeta.getBuilderSwap
(BeanSession session) Returns the builder swap associated with this class.ClassMeta.getExample
(BeanSession session, JsonParserSession jpSession) Returns the example of this class.ClassMeta<?>
ClassMeta.getSerializedClassMeta
(BeanSession session) Returns the serialized (swapped) form of this class if there is anObjectSwap
associated with it.ObjectSwap<T,
?> ClassMeta.getSwap
(BeanSession session) Returns theObjectSwap
associated with this class that's the best match for the specified session.Constructors in org.apache.juneau with parameters of type BeanSessionModifierConstructorDescriptionprotected
BeanMap
(BeanSession session, T bean, BeanMeta<T> meta) Instance of this class are instantiated through the BeanContext class. -
Uses of BeanSession in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema with parameters of type BeanSessionModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.swap
(BeanSession session, Object o) JsonSchema.BooleanOrSchemaSwap.swap
(BeanSession session, Object o) JsonSchema.JsonSchemaOrSchemaArraySwap.swap
(BeanSession session, Object o) JsonSchema.JsonTypeOrJsonTypeArraySwap.swap
(BeanSession session, Object o) JsonSchema.BooleanOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.BooleanOrSchemaSwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonSchemaOrSchemaArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) JsonSchema.JsonTypeOrJsonTypeArraySwap.unswap
(BeanSession session, Object o, ClassMeta<?> hint) -
Uses of BeanSession in org.apache.juneau.bean.openapi3.ui
Methods in org.apache.juneau.bean.openapi3.ui with parameters of type BeanSession -
Uses of BeanSession in org.apache.juneau.bean.swagger.ui
Methods in org.apache.juneau.bean.swagger.ui with parameters of type BeanSession -
Uses of BeanSession in org.apache.juneau.collections
Methods in org.apache.juneau.collections that return BeanSessionModifier and TypeMethodDescriptionJsonList.getBeanSession()
Returns theBeanSession
currently associated with this list.JsonMap.getBeanSession()
Returns theBeanSession
currently associated with this map.Methods in org.apache.juneau.collections with parameters of type BeanSessionModifier and TypeMethodDescriptionJsonList.session
(BeanSession session) Override the default bean session used for converting POJOs.JsonMap.session
(BeanSession session) Override the default bean session used for converting POJOs.JsonList.setBeanSession
(BeanSession value) Sets theBeanSession
currently associated with this list.JsonMap.setBeanSession
(BeanSession value) Sets theBeanSession
currently associated with this map.Constructors in org.apache.juneau.collections with parameters of type BeanSessionModifierConstructorDescriptionJsonList
(BeanSession session) Construct an empty list with the specified bean context.JsonMap
(BeanSession session) Construct an empty map with the specified bean context. -
Uses of BeanSession in org.apache.juneau.csv
Subclasses of BeanSession in org.apache.juneau.csvModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofCsvParser
.class
Session object that lives for the duration of a single use ofCsvSerializer
. -
Uses of BeanSession in org.apache.juneau.html
Subclasses of BeanSession in org.apache.juneau.htmlModifier and TypeClassDescriptionclass
Context object that lives for the duration of a single serialization ofHtmlSerializer
and its subclasses.class
ContextSession object that lives for the duration of a single use ofHtmlParser
.class
Context object that lives for the duration of a single serialization ofHtmlSchemaDocSerializer
and its subclasses.class
Context object that lives for the duration of a single serialization ofHtmlSchemaSerializer
and its subclasses.class
Session object that lives for the duration of a single use ofHtmlSerializer
.class
Session object that lives for the duration of a single use ofHtmlStrippedDocSerializer
. -
Uses of BeanSession in org.apache.juneau.internal
Constructors in org.apache.juneau.internal with parameters of type BeanSessionModifierConstructorDescriptionDelegateBeanMap
(T bean, BeanSession session) Constructor.DelegateMap
(T m, BeanSession session) Constructor. -
Uses of BeanSession in org.apache.juneau.json
Subclasses of BeanSession in org.apache.juneau.jsonModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofJsonParser
.class
Session object that lives for the duration of a single use ofJsonSchemaSerializer
.class
Session object that lives for the duration of a single use ofJsonSerializer
. -
Uses of BeanSession in org.apache.juneau.jsonschema
Subclasses of BeanSession in org.apache.juneau.jsonschemaModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofJsonSchemaSerializer
. -
Uses of BeanSession in org.apache.juneau.msgpack
Subclasses of BeanSession in org.apache.juneau.msgpackModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofMsgPackParser
.class
Session object that lives for the duration of a single use ofMsgPackSerializer
. -
Uses of BeanSession in org.apache.juneau.oapi
Subclasses of BeanSession in org.apache.juneau.oapiModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofOpenApiParser
.class
Session object that lives for the duration of a single use ofOpenApiSerializer
. -
Uses of BeanSession in org.apache.juneau.objecttools
Methods in org.apache.juneau.objecttools with parameters of type BeanSessionModifier and TypeMethodDescriptionObjectPaginator.run
(BeanSession session, Object input, PageArgs args) ObjectSearcher.run
(BeanSession session, Object input, SearchArgs args) ObjectSorter.run
(BeanSession session, Object input, SortArgs args) ObjectTool.run
(BeanSession session, Object input, T args) Converts the specified input to some other output.ObjectViewer.run
(BeanSession session, Object input, ViewArgs args) -
Uses of BeanSession in org.apache.juneau.parser
Subclasses of BeanSession in org.apache.juneau.parserModifier and TypeClassDescriptionclass
Subclass of parser session objects for byte-based parsers.class
Session object that lives for the duration of a single use ofParser
.class
Subclass of parser session objects for character-based parsers. -
Uses of BeanSession in org.apache.juneau.plaintext
Subclasses of BeanSession in org.apache.juneau.plaintextModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofPlainTextParser
.class
Session object that lives for the duration of a single use ofPlainTextSerializer
. -
Uses of BeanSession in org.apache.juneau.rest
Methods in org.apache.juneau.rest that return BeanSessionModifier and TypeMethodDescriptionRestRequest.getBeanSession()
Returns theBeanSession
associated with this request. -
Uses of BeanSession in org.apache.juneau.rest.client
Subclasses of BeanSession in org.apache.juneau.rest.clientModifier and TypeClassDescriptionclass
Represents a request to a remote REST resource. -
Uses of BeanSession in org.apache.juneau.rest.mock
Subclasses of BeanSession in org.apache.juneau.rest.mockModifier and TypeClassDescriptionclass
A subclass ofRestRequest
with additional features for mocked testing. -
Uses of BeanSession in org.apache.juneau.rest.widget
Methods in org.apache.juneau.rest.widget with parameters of type BeanSession -
Uses of BeanSession in org.apache.juneau.serializer
Subclasses of BeanSession in org.apache.juneau.serializerModifier and TypeClassDescriptionclass
Subclass ofSerializerSession
for stream-based serializers.class
Serializer session that lives for the duration of a single use ofSerializer
.class
Subclass ofSerializerSession
for character-based serializers. -
Uses of BeanSession in org.apache.juneau.soap
Subclasses of BeanSession in org.apache.juneau.soapModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofSoapXmlSerializer
. -
Uses of BeanSession in org.apache.juneau.swap
Methods in org.apache.juneau.swap with parameters of type BeanSessionModifier and TypeMethodDescriptionBuilderSwap.build
(BeanSession session, B builder, ClassMeta<?> hint) Creates a new object from the specified builder.BuilderSwap.create
(BeanSession session, ClassMeta<?> hint) Creates a new builder object.ClassMeta<?>
BuilderSwap.getBuilderClassMeta
(BeanSession session) Returns theClassMeta
of the transformed class type.ClassMeta<?>
ObjectSwap.getSwapClassMeta
(BeanSession session) Returns theClassMeta
of the transformed class type.int
ObjectSwap.match
(BeanSession session) Returns a number indicating how well this swap matches the specified session.List<?>
AutoListSwap.swap
(BeanSession session, Object o) Map<?,
?> AutoMapSwap.swap
(BeanSession session, Object o) AutoNumberSwap.swap
(BeanSession session, Object o) AutoObjectSwap.swap
(BeanSession session, Object o) FunctionalSwap.swap
(BeanSession session, T o, String template) MapSwap.swap
(BeanSession session, T o) ObjectSwap.swap
(BeanSession session, T o) If this transform is to be used to serialize non-serializable objects, it must implement this method.ObjectSwap.swap
(BeanSession session, T o, String template) Same asObjectSwap.swap(BeanSession, Object)
, but can be used if your swap has a template associated with it.StringSwap.swap
(BeanSession session, T o) SurrogateSwap.swap
(BeanSession session, T o) AutoListSwap.unswap
(BeanSession session, List<?> o, ClassMeta<?> hint) AutoMapSwap.unswap
(BeanSession session, Map<?, ?> o, ClassMeta<?> hint) AutoNumberSwap.unswap
(BeanSession session, Number o, ClassMeta<?> hint) AutoObjectSwap.unswap
(BeanSession session, Object f, ClassMeta<?> hint) FunctionalSwap.unswap
(BeanSession session, S f, ClassMeta<?> hint, String template) MapSwap.unswap
(BeanSession session, JsonMap f, ClassMeta<?> hint) ObjectSwap.unswap
(BeanSession 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
(BeanSession session, S f, ClassMeta<?> hint, String template) Same asObjectSwap.unswap(BeanSession, Object, ClassMeta)
, but can be used if your swap has a template associated with it.StringSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) SurrogateSwap.unswap
(BeanSession session, F f, ClassMeta<?> hint) -
Uses of BeanSession in org.apache.juneau.swaps
Methods in org.apache.juneau.swaps with parameters of type BeanSessionModifier and TypeMethodDescriptionprotected Temporal
TemporalSwap.convertToSerializable
(BeanSession session, Temporal t) Converts the specified temporal object to a form suitable to be serialized using any pattern.BeanStringSwap.swap
(BeanSession session, T o) Converts the specified bean to aString
.ByteArraySwap.Base64.swap
(BeanSession session, byte[] b) Converts the specified
to abyte []String
.ByteArraySwap.Hex.swap
(BeanSession session, byte[] b) Converts the specified
to abyte []String
.ByteArraySwap.SpacedHex.swap
(BeanSession session, byte[] b) Converts the specified
to abyte []String
.ClassSwap.swap
(BeanSession session, Class<?> o) EnumerationSwap.swap
(BeanSession session, Enumeration o) Converts the specifiedEnumeration
to aList
.InputStreamSwap.Base64.swap
(BeanSession session, InputStream is) Converts the specifiedInputStream
to aString
.InputStreamSwap.Hex.swap
(BeanSession session, InputStream is) Converts the specifiedInputStream
to aString
.InputStreamSwap.SpacedHex.swap
(BeanSession session, InputStream is) Converts the specifiedInputStream
to aString
.IteratorSwap.swap
(BeanSession session, Iterator o) LocaleSwap.swap
(BeanSession session, Locale o) MatchResultSwap.swap
(BeanSession session, MatchResult o) Converts the specifiedEnumeration
to aList
.ParsedReaderSwap.swap
(BeanSession session, Reader o) ReaderSwap.swap
(BeanSession session, Reader r) Converts the specifiedInputStream
to aString
.StackTraceElementSwap.swap
(BeanSession session, StackTraceElement o) Converts the specifiedEnumeration
to aList
.StringFormatSwap.swap
(BeanSession session, Object o) TemporalCalendarSwap.swap
(BeanSession session, Calendar o) TemporalDateSwap.swap
(BeanSession session, Date o) TemporalSwap.swap
(BeanSession session, Temporal o) TimeZoneSwap.swap
(BeanSession session, TimeZone o) UrlSwap.swap
(BeanSession session, URL o) XMLGregorianCalendarSwap.swap
(BeanSession session, XMLGregorianCalendar b) Converts the specifiedXMLGregorianCalendar to aString
.ZoneIdSwap.swap
(BeanSession session, ZoneId o) byte[]
ByteArraySwap.Base64.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []byte[]
ByteArraySwap.Hex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []byte[]
ByteArraySwap.SpacedHex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to a
.byte []Class<?>
ClassSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.InputStreamSwap.Hex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.InputStreamSwap.SpacedHex.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anInputStream
.LocaleSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) StackTraceElementSwap.unswap
(BeanSession session, String in, ClassMeta<?> hint) StringFormatSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalCalendarSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalDateSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TemporalSwap.unswap
(BeanSession session, String f, ClassMeta<?> hint) TimeZoneSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) UrlSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) XMLGregorianCalendarSwap.unswap
(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedString
to anXMLGregorianCalendar .ZoneIdSwap.unswap
(BeanSession session, String o, ClassMeta<?> hint) -
Uses of BeanSession in org.apache.juneau.uon
Subclasses of BeanSession in org.apache.juneau.uonModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofUonParser
.class
Session object that lives for the duration of a single use ofUonSerializer
. -
Uses of BeanSession in org.apache.juneau.urlencoding
Subclasses of BeanSession in org.apache.juneau.urlencodingModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofUrlEncodingParser
.class
Session object that lives for the duration of a single use ofUrlEncodingSerializer
. -
Uses of BeanSession in org.apache.juneau.xml
Subclasses of BeanSession in org.apache.juneau.xmlModifier and TypeClassDescriptionclass
Session object that lives for the duration of a single use ofXmlDocSerializer
.class
Session object that lives for the duration of a single use ofXmlParser
.class
Session object that lives for the duration of a single use ofXmlSerializer
.