Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java')
-rw-r--r--jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java
index e041f5477b..f820efcb73 100644
--- a/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java
+++ b/jetty-http2/http2-common/src/main/java/org/eclipse/jetty/http2/IStream.java
@@ -39,6 +39,11 @@ public interface IStream extends Stream, Closeable
*/
public static final String CHANNEL_ATTRIBUTE = IStream.class.getName() + ".channel";
+ /**
+ * @return whether this stream is local or remote
+ */
+ public boolean isLocal();
+
@Override
public ISession getSession();

Back to the top