クラス JdkMongoSessionConverter
java.lang.ObjectSE
org.springframework.session.data.mongo.AbstractMongoSessionConverter
org.springframework.session.data.mongo.JdkMongoSessionConverter
- 実装済みのインターフェース一覧:
org.springframework.core.convert.converter.GenericConverter
標準の Java 直列化を使用した
AbstractMongoSessionConverter の実装。- 導入:
- 1.2
ネストされたクラスの概要
インターフェース org.springframework.core.convert.converter.GenericConverter から継承されたネストクラス / インターフェース
org.springframework.core.convert.converter.GenericConverter.ConvertiblePairコンストラクター概要
コンストラクターコンストラクター説明JdkMongoSessionConverter(DurationSE maxInactiveInterval) JdkMongoSessionConverter(org.springframework.core.convert.converter.Converter<ObjectSE, byte[]> serializer, org.springframework.core.convert.converter.Converter<byte[], ObjectSE> deserializer, DurationSE maxInactiveInterval) 方法の概要
修飾子と型メソッド説明protected MongoSessionconvert(org.bson.Document sessionWrapper) protected com.mongodb.DBObjectconvert(MongoSession session) org.springframework.data.mongodb.core.query.QuerygetQueryForIndex(StringSE indexName, ObjectSE indexValue) 特定のインデックスに基づいてセッションを返すために実行されるクエリを返します。クラス org.springframework.session.data.mongo.AbstractMongoSessionConverter から継承されたメソッド
convert, ensureIndexes, extractPrincipal, getConvertibleTypes, setIndexResolver
コンストラクターの詳細
JdkMongoSessionConverter
JdkMongoSessionConverter
public JdkMongoSessionConverter(org.springframework.core.convert.converter.Converter<ObjectSE, byte[]> serializer, org.springframework.core.convert.converter.Converter<byte[], ObjectSE> deserializer, DurationSE maxInactiveInterval)
方法の詳細
getQueryForIndex
@Nullable public org.springframework.data.mongodb.core.query.Query getQueryForIndex(StringSE indexName, ObjectSE indexValue) クラスからコピーされた説明:AbstractMongoSessionConverter特定のインデックスに基づいてセッションを返すために実行されるクエリを返します。- 次で指定:
- クラス
AbstractMongoSessionConverterのgetQueryForIndex - パラメーター:
indexName- インデックスの名前indexValue- クエリする値- 戻り値:
- 構築されたクエリ、または indexName がサポートされていない場合は null
convert
- 次で指定:
- クラス
AbstractMongoSessionConverterのconvert
convert
- 次で指定:
- クラス
AbstractMongoSessionConverterのconvert