keycloak
公開メンバ関数 | 静的非公開変数類 | 全メンバ一覧
org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl クラス
org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl の継承関係図
Inheritance graph
org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl 連携図
Collaboration graph

公開メンバ関数

void writeObject (ObjectOutput output, SessionPredicate obj) throws IOException
 
SessionPredicate readObject (ObjectInput input) throws IOException, ClassNotFoundException
 
SessionPredicate readObjectVersion1 (ObjectInput input) throws IOException, ClassNotFoundException
 

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

SessionPredicate org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
66  {
67  switch (input.readByte()) {
68  case VERSION_1:
69  return readObjectVersion1(input);
70  default:
71  throw new IOException("Unknown version");
72  }
73  }
SessionPredicate readObjectVersion1(ObjectInput input)
Definition: SessionPredicate.java:75
static final int VERSION_1
Definition: SessionPredicate.java:55

◆ readObjectVersion1()

SessionPredicate org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
75  {
76  SessionPredicate res = new SessionPredicate(MarshallUtil.unmarshallString(input));
77  return res;
78  }
SessionPredicate(String realm)
Definition: SessionPredicate.java:40

◆ writeObject()

void org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl.writeObject ( ObjectOutput  output,
SessionPredicate  obj 
) throws IOException
inline
58  {
59  output.writeByte(VERSION_1);
60 
61  MarshallUtil.marshallString(obj.realm, output);
62 
63  }
static final int VERSION_1
Definition: SessionPredicate.java:55

メンバ詳解

◆ VERSION_1

final int org.keycloak.models.sessions.infinispan.stream.SessionPredicate< S extends SessionEntity >.ExternalizerImpl.VERSION_1 = 1
staticprivate

このクラス詳解は次のファイルから抽出されました: