Class KeyFile
- java.lang.Object
-
- org.apache.pulsar.client.impl.auth.oauth2.KeyFile
-
public class KeyFile extends java.lang.ObjectA JSON object representing a credentials file.
-
-
Constructor Summary
Constructors Constructor Description KeyFile()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyFilefromJson(java.io.Reader value)static KeyFilefromJson(java.lang.String value)java.lang.StringtoJson()
-
-
-
Method Detail
-
toJson
public java.lang.String toJson() throws java.io.IOException- Throws:
java.io.IOException
-
fromJson
public static KeyFile fromJson(java.lang.String value) throws java.io.IOException
- Throws:
java.io.IOException
-
fromJson
public static KeyFile fromJson(java.io.Reader value) throws java.io.IOException
- Throws:
java.io.IOException
-
-