RFR 8161474: Extract interface from java.net.http.RawChannel

Pavel Rappo pavel.rappo at oracle.com
Mon Jul 18 10:29:59 UTC 2016


Hello,

Could you please review the following change for [1]?

    http://cr.openjdk.java.net/~prappo/8161474/webrev.00/

This change is purely a refactoring. No functionality changes are intended.

RawChannel is an I/O abstraction that represents a WebSocket implementation's
view on the "network+server" system. Extracting an interface from this class
will allow to provide a high-level quality gray-box tests as virtually any event
from the network and/or server could be emulated by an appropriate
implementation of RawChannel.

Thanks,
-Pavel

--------------------------------------------------------------------------------
[1] https://bugs.openjdk.java.net/browse/JDK-8161474



More information about the net-dev mailing list