Package org.webpieces.httpclient11.impl
Class ProxyStreamRef
- java.lang.Object
-
- org.webpieces.httpclient11.impl.ProxyStreamRef
-
- All Implemented Interfaces:
HttpStreamRef
public class ProxyStreamRef extends java.lang.Object implements HttpStreamRef
-
-
Constructor Summary
Constructors Constructor Description ProxyStreamRef(HttpStreamRef ref, java.util.concurrent.CompletableFuture<HttpDataWriter> newWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>cancel(java.lang.Object reason)java.util.concurrent.CompletableFuture<HttpDataWriter>getWriter()
-
-
-
Constructor Detail
-
ProxyStreamRef
public ProxyStreamRef(HttpStreamRef ref, java.util.concurrent.CompletableFuture<HttpDataWriter> newWriter)
-
-
Method Detail
-
getWriter
public java.util.concurrent.CompletableFuture<HttpDataWriter> getWriter()
- Specified by:
getWriterin interfaceHttpStreamRef
-
cancel
public java.util.concurrent.CompletableFuture<java.lang.Void> cancel(java.lang.Object reason)
- Specified by:
cancelin interfaceHttpStreamRef
-
-