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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

PolicyRemovedEvent org.keycloak.models.cache.infinispan.authorization.events.PolicyRemovedEvent.ExternalizerImpl.readObject ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
89  {
90  switch (input.readByte()) {
91  case VERSION_1:
92  return readObjectVersion1(input);
93  default:
94  throw new IOException("Unknown version");
95  }
96  }
PolicyRemovedEvent readObjectVersion1(ObjectInput input)
Definition: PolicyRemovedEvent.java:98

◆ readObjectVersion1()

PolicyRemovedEvent org.keycloak.models.cache.infinispan.authorization.events.PolicyRemovedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
98  {
99  PolicyRemovedEvent res = new PolicyRemovedEvent();
100  res.id = MarshallUtil.unmarshallString(input);
101  res.name = MarshallUtil.unmarshallString(input);
102  res.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
103  res.resources = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
104  res.resourceTypes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
105  res.serverId = MarshallUtil.unmarshallString(input);
106 
107  return res;
108  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.authorization.events.PolicyRemovedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
PolicyRemovedEvent  obj 
) throws IOException
inline
77  {
78  output.writeByte(VERSION_1);
79 
80  MarshallUtil.marshallString(obj.id, output);
81  MarshallUtil.marshallString(obj.name, output);
82  KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output);
83  KeycloakMarshallUtil.writeCollection(obj.resources, KeycloakMarshallUtil.STRING_EXT, output);
84  KeycloakMarshallUtil.writeCollection(obj.resourceTypes, KeycloakMarshallUtil.STRING_EXT, output);
85  MarshallUtil.marshallString(obj.serverId, output);
86  }

メンバ詳解

◆ VERSION_1

final int org.keycloak.models.cache.infinispan.authorization.events.PolicyRemovedEvent.ExternalizerImpl.VERSION_1 = 1
staticprivate

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