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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

AuthenticatedClientSessionPredicate org.keycloak.models.sessions.infinispan.stream.AuthenticatedClientSessionPredicate.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
93  {
94  switch (input.readByte()) {
95  case VERSION_1:
96  return readObjectVersion1(input);
97  default:
98  throw new IOException("Unknown version");
99  }
100  }
static final int VERSION_1
Definition: AuthenticatedClientSessionPredicate.java:82
AuthenticatedClientSessionPredicate readObjectVersion1(ObjectInput input)
Definition: AuthenticatedClientSessionPredicate.java:102

◆ readObjectVersion1()

AuthenticatedClientSessionPredicate org.keycloak.models.sessions.infinispan.stream.AuthenticatedClientSessionPredicate.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
102  {
103  AuthenticatedClientSessionPredicate res = new AuthenticatedClientSessionPredicate(MarshallUtil.unmarshallString(input));
104  res.expired(KeycloakMarshallUtil.unmarshallInteger(input));
105  return res;
106  }
AuthenticatedClientSessionPredicate(String realm)
Definition: AuthenticatedClientSessionPredicate.java:44

◆ writeObject()

void org.keycloak.models.sessions.infinispan.stream.AuthenticatedClientSessionPredicate.ExternalizerImpl.writeObject ( ObjectOutput  output,
AuthenticatedClientSessionPredicate  obj 
) throws IOException
inline
85  {
86  output.writeByte(VERSION_1);
87 
88  MarshallUtil.marshallString(obj.realm, output);
89  KeycloakMarshallUtil.marshall(obj.expired, output);
90  }
static final int VERSION_1
Definition: AuthenticatedClientSessionPredicate.java:82

メンバ詳解

◆ VERSION_1

final int org.keycloak.models.sessions.infinispan.stream.AuthenticatedClientSessionPredicate.ExternalizerImpl.VERSION_1 = 1
staticprivate

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