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

公開メンバ関数

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

静的非公開変数類

static final int VERSION_1 = 1
 

詳解

関数詳解

◆ readObject()

ResourceUpdatedEvent org.keycloak.models.cache.infinispan.authorization.events.ResourceUpdatedEvent.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  }
ResourceUpdatedEvent readObjectVersion1(ObjectInput input)
Definition: ResourceUpdatedEvent.java:101

◆ readObjectVersion1()

ResourceUpdatedEvent org.keycloak.models.cache.infinispan.authorization.events.ResourceUpdatedEvent.ExternalizerImpl.readObjectVersion1 ( ObjectInput  input) throws IOException, ClassNotFoundException
inline
101  {
102  ResourceUpdatedEvent res = new ResourceUpdatedEvent();
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.scopes = KeycloakMarshallUtil.readCollection(input, KeycloakMarshallUtil.STRING_EXT, HashSet::new);
108  res.serverId = MarshallUtil.unmarshallString(input);
109  res.owner = MarshallUtil.unmarshallString(input);
110 
111  return res;
112  }

◆ writeObject()

void org.keycloak.models.cache.infinispan.authorization.events.ResourceUpdatedEvent.ExternalizerImpl.writeObject ( ObjectOutput  output,
ResourceUpdatedEvent  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  KeycloakMarshallUtil.writeCollection(obj.scopes, KeycloakMarshallUtil.STRING_EXT, output);
87  MarshallUtil.marshallString(obj.serverId, output);
88  MarshallUtil.marshallString(obj.owner, output);
89  }

メンバ詳解

◆ VERSION_1

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

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