private static synchronized void createStream ( Http2Connection conn , int streamId ) throws Http2Exception { conn . local ( ) . createStream ( streamId , false ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Stream created streamId: {}" , streamId ) ; } }
Creates a stream with given stream id .