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.juneauSubclasses of BeanSession in org.apache.juneauModifier and TypeClassDescriptionclassContextSession that lives for the duration of a single use ofBeanTraverseContext.Fields in org.apache.juneau declared as BeanSessionModifier and TypeFieldDescriptionstatic final BeanSessionBeanContext.DEFAULT_SESSIONDefault reusable unmodifiable session.Methods in org.apache.juneau that return BeanSessionModifier and TypeMethodDescriptionBeanSession.Builder.build()Build the object.final BeanSessionBeanMap.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 anObjectSwapassociated with it.ObjectSwap<T,?> ClassMeta.getSwap(BeanSession session) Returns theObjectSwapassociated with this class that's the best match for the specified session.Constructors in org.apache.juneau with parameters of type BeanSessionModifierConstructorDescriptionprotectedBeanMap(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.jsonschemaMethods 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.uiMethods in org.apache.juneau.bean.openapi3.ui with parameters of type BeanSession
- 
Uses of BeanSession in org.apache.juneau.bean.swagger.uiMethods in org.apache.juneau.bean.swagger.ui with parameters of type BeanSession
- 
Uses of BeanSession in org.apache.juneau.collectionsMethods in org.apache.juneau.collections that return BeanSessionModifier and TypeMethodDescriptionJsonList.getBeanSession()Returns theBeanSessioncurrently associated with this list.JsonMap.getBeanSession()Returns theBeanSessioncurrently 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 theBeanSessioncurrently associated with this list.JsonMap.setBeanSession(BeanSession value) Sets theBeanSessioncurrently 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.csvSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.htmlSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.internalConstructors 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.jsonSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.jsonschemaSubclasses of BeanSession in org.apache.juneau.jsonschemaModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofJsonSchemaSerializer.
- 
Uses of BeanSession in org.apache.juneau.msgpackSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.oapiSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.objecttoolsMethods 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.parserSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.plaintextSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.restMethods in org.apache.juneau.rest that return BeanSessionModifier and TypeMethodDescriptionRestRequest.getBeanSession()Returns theBeanSessionassociated with this request.
- 
Uses of BeanSession in org.apache.juneau.rest.clientSubclasses of BeanSession in org.apache.juneau.rest.clientModifier and TypeClassDescriptionclassRepresents a request to a remote REST resource.
- 
Uses of BeanSession in org.apache.juneau.rest.mockSubclasses of BeanSession in org.apache.juneau.rest.mockModifier and TypeClassDescriptionclassA subclass ofRestRequestwith additional features for mocked testing.
- 
Uses of BeanSession in org.apache.juneau.rest.widgetMethods in org.apache.juneau.rest.widget with parameters of type BeanSession
- 
Uses of BeanSession in org.apache.juneau.serializerSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.soapSubclasses of BeanSession in org.apache.juneau.soapModifier and TypeClassDescriptionclassSession object that lives for the duration of a single use ofSoapXmlSerializer.
- 
Uses of BeanSession in org.apache.juneau.swapMethods 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 theClassMetaof the transformed class type.ClassMeta<?>ObjectSwap.getSwapClassMeta(BeanSession session) Returns theClassMetaof the transformed class type.intObjectSwap.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.swapsMethods in org.apache.juneau.swaps with parameters of type BeanSessionModifier and TypeMethodDescriptionprotected TemporalTemporalSwap.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 specifiedbyte []String.ByteArraySwap.Hex.swap(BeanSession session, byte[] b) Converts the specifiedbyte []String.ByteArraySwap.SpacedHex.swap(BeanSession session, byte[] b) Converts the specifiedbyte []String.ClassSwap.swap(BeanSession session, Class<?> o) EnumerationSwap.swap(BeanSession session, Enumeration o) Converts the specifiedEnumerationto aList.InputStreamSwap.Base64.swap(BeanSession session, InputStream is) Converts the specifiedInputStreamto aString.InputStreamSwap.Hex.swap(BeanSession session, InputStream is) Converts the specifiedInputStreamto aString.InputStreamSwap.SpacedHex.swap(BeanSession session, InputStream is) Converts the specifiedInputStreamto aString.IteratorSwap.swap(BeanSession session, Iterator o) LocaleSwap.swap(BeanSession session, Locale o) MatchResultSwap.swap(BeanSession session, MatchResult o) Converts the specifiedEnumerationto aList.ParsedReaderSwap.swap(BeanSession session, Reader o) ReaderSwap.swap(BeanSession session, Reader r) Converts the specifiedInputStreamto aString.StackTraceElementSwap.swap(BeanSession session, StackTraceElement o) Converts the specifiedEnumerationto 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 specifiedStringto abyte []byte[]ByteArraySwap.Hex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto abyte []byte[]ByteArraySwap.SpacedHex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto abyte []Class<?>ClassSwap.unswap(BeanSession session, String o, ClassMeta<?> hint) InputStreamSwap.Base64.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.Hex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto anInputStream.InputStreamSwap.SpacedHex.unswap(BeanSession session, String s, ClassMeta<?> hint) Converts the specifiedStringto 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 specifiedStringto anXMLGregorianCalendar .ZoneIdSwap.unswap(BeanSession session, String o, ClassMeta<?> hint) 
- 
Uses of BeanSession in org.apache.juneau.uonSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.urlencodingSubclasses of BeanSession in org.apache.juneau.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 BeanSession in org.apache.juneau.xmlSubclasses of BeanSession in org.apache.juneau.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.