Code example for SSLSocket

Methods: getInputStream

0
     * @return 
     * @throws IOException 
     * @throws ClassNotFoundException 
     */ 
    public Object getObjectMessage() throws IOException, ClassNotFoundException {
        objIn = new ObjectInputStream(sock.getInputStream());
        return objIn.readObject();
    } 
}