Package org.webpieces.http2client.impl
Class Proxy2StreamRef
- java.lang.Object
-
- org.webpieces.http2client.impl.Proxy2StreamRef
-
- All Implemented Interfaces:
com.webpieces.http2.api.streaming.StreamRef
public class Proxy2StreamRef extends java.lang.Object implements com.webpieces.http2.api.streaming.StreamRef
-
-
Constructor Summary
Constructors Constructor Description Proxy2StreamRef(com.webpieces.http2.api.streaming.StreamRef ref, java.util.concurrent.CompletableFuture<com.webpieces.http2.api.streaming.StreamWriter> writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.Void>cancel(com.webpieces.http2.api.dto.lowlevel.CancelReason reason)java.util.concurrent.CompletableFuture<com.webpieces.http2.api.streaming.StreamWriter>getWriter()
-
-
-
Method Detail
-
getWriter
public java.util.concurrent.CompletableFuture<com.webpieces.http2.api.streaming.StreamWriter> getWriter()
- Specified by:
getWriterin interfacecom.webpieces.http2.api.streaming.StreamRef
-
cancel
public java.util.concurrent.CompletableFuture<java.lang.Void> cancel(com.webpieces.http2.api.dto.lowlevel.CancelReason reason)
- Specified by:
cancelin interfacecom.webpieces.http2.api.streaming.StreamRef
-
-