Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

import org.java_websocket.AbstractWrappedByteChannel;

@Deprecated
public abstract class AbstractClientProxyChannel extends AbstractWrappedByteChannel {
protected final ByteBuffer proxyHandshake;

Expand All @@ -40,6 +41,7 @@ public abstract class AbstractClientProxyChannel extends AbstractWrappedByteChan
* @param towrap
* The channel to the proxy server
**/
@Deprecated
public AbstractClientProxyChannel( ByteChannel towrap ) {
super( towrap );
try {
Expand All @@ -50,6 +52,7 @@ public AbstractClientProxyChannel( ByteChannel towrap ) {
}

@Override
@Deprecated
public int write( ByteBuffer src ) throws IOException {
if( !proxyHandshake.hasRemaining() ) {
return super.write( src );
Expand All @@ -58,6 +61,7 @@ public int write( ByteBuffer src ) throws IOException {
}
}

@Deprecated
public abstract String buildHandShake();

}