Interface GlassFishInputStreamHandler


@Contract public interface GlassFishInputStreamHandler
A class that is used to restore state during deserialization
Author:
Mahesh Kannan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Object
    Represents null in serialized objects
  • Method Summary

    Modifier and Type
    Method
    Description
    The implementation must return the object that needs to be written out to the stream OR null if it cannot handle the serialization of this object
  • Field Details

    • NULL_OBJECT

      static final Object NULL_OBJECT
      Represents null in serialized objects
  • Method Details

    • resolveObject

      Object resolveObject(Object obj) throws IOException
      The implementation must return the object that needs to be written out to the stream OR null if it cannot handle the serialization of this object
      Parameters:
      obj -
      Returns:
      obj to be deserialized or null
      Throws:
      IOException