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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

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

◆ readObjectVersion1()

ResourceRemovedEvent org.keycloak.models.cache.infinispan.authorization.events.ResourceRemovedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
101  {
102  ResourceRemovedEvent res = new ResourceRemovedEvent();
103  res.id = MarshallUtil.unmarshallString(input);
104  res.name = MarshallUtil.unmarshallString(input);
105  res.type = MarshallUtil.unmarshallString(input);
106  res.uris = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
107  res.owner = MarshallUtil.unmarshallString(input);
108  res.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
109  res.serverId = MarshallUtil.unmarshallString(input);
110 
111  return res;
112  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.authorization.events.ResourceRemovedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
ResourceRemovedEvent  obj 
) throws IOException
inline
79  {
80  output.writeByte(VERSION_1);
81 
82  MarshallUtil.marshallString(obj.id, output);
83  MarshallUtil.marshallString(obj.name, output);
84  MarshallUtil.marshallString(obj.type, output);
85  KeycloakMarshallUtil.writeCollection(obj.uris, KeycloakMarshallUtil.STRING_EXT, output);
86  MarshallUtil.marshallString(obj.owner, output);
87  KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output);
88  MarshallUtil.marshallString(obj.serverId, output);
89  }

メンバ詳解

◆ VERSION_1

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

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