クラス JacksonMongoSessionConverter
java.lang.ObjectSE
org.springframework.session.data.mongo.AbstractMongoSessionConverter
org.springframework.session.data.mongo.JacksonMongoSessionConverter
- 実装済みのインターフェース一覧:
org.springframework.core.convert.converter.GenericConverter
Jackson を使用した
AbstractMongoSessionConverter の実装。- 導入:
- 1.2
ネストされたクラスの概要
インターフェース org.springframework.core.convert.converter.GenericConverter から継承されたネストクラス / インターフェース
org.springframework.core.convert.converter.GenericConverter.ConvertiblePairコンストラクター概要
コンストラクターコンストラクター説明JacksonMongoSessionConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper) JacksonMongoSessionConverter(IterableSE<com.fasterxml.jackson.databind.Module> modules) 方法の概要
修飾子と型メソッド説明protected MongoSessionconvert(org.bson.Document source) protected com.mongodb.DBObjectconvert(MongoSession source) protected org.springframework.data.mongodb.core.query.QuerygetQueryForIndex(StringSE indexName, ObjectSE indexValue) 特定のインデックスに基づいてセッションを返すために実行されるクエリを返します。クラス org.springframework.session.data.mongo.AbstractMongoSessionConverter から継承されたメソッド
convert, ensureIndexes, extractPrincipal, getConvertibleTypes, setIndexResolver
コンストラクターの詳細
JacksonMongoSessionConverter
public JacksonMongoSessionConverter()JacksonMongoSessionConverter
JacksonMongoSessionConverter
public JacksonMongoSessionConverter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
方法の詳細
getQueryForIndex
@Nullable protected 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