Skip to content

Commit 09c568c

Browse files
authored
Merge pull request #635 from marci4/master
Mark AbstractClientProxyChannel as deprecated
2 parents 43f5f12 + 73c1d7f commit 09c568c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/java_websocket/client/AbstractClientProxyChannel.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import org.java_websocket.AbstractWrappedByteChannel;
3434

35+
@Deprecated
3536
public abstract class AbstractClientProxyChannel extends AbstractWrappedByteChannel {
3637
protected final ByteBuffer proxyHandshake;
3738

@@ -40,6 +41,7 @@ public abstract class AbstractClientProxyChannel extends AbstractWrappedByteChan
4041
* @param towrap
4142
* The channel to the proxy server
4243
**/
44+
@Deprecated
4345
public AbstractClientProxyChannel( ByteChannel towrap ) {
4446
super( towrap );
4547
try {
@@ -50,6 +52,7 @@ public AbstractClientProxyChannel( ByteChannel towrap ) {
5052
}
5153

5254
@Override
55+
@Deprecated
5356
public int write( ByteBuffer src ) throws IOException {
5457
if( !proxyHandshake.hasRemaining() ) {
5558
return super.write( src );
@@ -58,6 +61,7 @@ public int write( ByteBuffer src ) throws IOException {
5861
}
5962
}
6063

64+
@Deprecated
6165
public abstract String buildHandShake();
6266

6367
}

0 commit comments

Comments
 (0)