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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

UserSessionPredicate org.keycloak.models.sessions.infinispan.stream.UserSessionPredicate.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
154  {
155  switch (input.readByte()) {
156  case VERSION_1:
157  return readObjectVersion1(input);
158  default:
159  throw new IOException("Unknown version");
160  }
161  }
UserSessionPredicate readObjectVersion1(ObjectInput input)
Definition: UserSessionPredicate.java:163
static final int VERSION_1
Definition: UserSessionPredicate.java:137

◆ readObjectVersion1()

UserSessionPredicate org.keycloak.models.sessions.infinispan.stream.UserSessionPredicate.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
163  {
164  UserSessionPredicate res = new UserSessionPredicate(MarshallUtil.unmarshallString(input));
165  res.user(MarshallUtil.unmarshallString(input));
166  res.client(MarshallUtil.unmarshallString(input));
167  res.expired(KeycloakMarshallUtil.unmarshallInteger(input), KeycloakMarshallUtil.unmarshallInteger(input));
168  res.brokerSessionId(MarshallUtil.unmarshallString(input));
169  res.brokerUserId(MarshallUtil.unmarshallString(input));
170  return res;
171  }
UserSessionPredicate(String realm)
Definition: UserSessionPredicate.java:53

◆ writeObject()

void org.keycloak.models.sessions.infinispan.stream.UserSessionPredicate.ExternalizerImpl.writeObject ( ObjectOutput  output,
UserSessionPredicate  obj 
) throws IOException
inline
140  {
141  output.writeByte(VERSION_1);
142 
143  MarshallUtil.marshallString(obj.realm, output);
144  MarshallUtil.marshallString(obj.user, output);
145  MarshallUtil.marshallString(obj.client, output);
146  KeycloakMarshallUtil.marshall(obj.expired, output);
147  KeycloakMarshallUtil.marshall(obj.expiredRefresh, output);
148  MarshallUtil.marshallString(obj.brokerSessionId, output);
149  MarshallUtil.marshallString(obj.brokerUserId, output);
150 
151  }
static final int VERSION_1
Definition: UserSessionPredicate.java:137

メンバ詳解

◆ VERSION_1

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

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