public Http2Stream pushStream ( int associatedStreamId , List < Header > requestHeaders , boolean out ) throws IOException { if ( client ) throw new IllegalStateException ( "Client cannot push requests." ) ; return newStream ( associatedStreamId , requestHeaders , out ) ; }
Returns a new server - initiated stream .