Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Object deserializeObject(byte[] data) throws IOException {
- if (data == null || data.length < 1) {
- return null;
- }
- Object object = null;
- try {
- ObjectInputStream objectStream = new ObjectInputStream(new ByteArrayInputStream(data));
- object = objectStream.readObject();
- objectStream.close();
- } catch (ClassNotFoundException e) {
- e.printStackTrace();
- }
- GET /rest/api/graph
Add Comment
Please, Sign In to add comment