クラス 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 org.springframework.session.data.mongo.MongoSession
convert
(org.bson.Document sessionWrapper) protected com.mongodb.DBObject
convert
(org.springframework.session.data.mongo.MongoSession session) org.springframework.data.mongodb.core.query.Query
getQueryForIndex
(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
protected com.mongodb.DBObject convert(org.springframework.session.data.mongo.MongoSession session) - 次で指定:
- クラス
AbstractMongoSessionConverter
のconvert
convert
protected org.springframework.session.data.mongo.MongoSession convert(org.bson.Document sessionWrapper) - 次で指定:
- クラス
AbstractMongoSessionConverter
のconvert