クラスの使用
org.fanout.gripcontrol.Channel
-
org.fanout.gripcontrolでのChannelの使用
Channel型の型引数を持つorg.fanout.gripcontrolのメソッド・パラメータ 修飾子とタイプ メソッド 説明 static StringGripControl. createGripChannelHeader(List<Channel> channels)Create a GRIP channel header for the specified channels.static StringGripControl. createHold(String mode, List<Channel> channels, Response response, int timeout)Create GRIP hold instructions for the specified parameters including a timeout.static StringGripControl. createHoldResponse(List<Channel> channels)Create a GRIP hold response for HTTP long-polling.static StringGripControl. createHoldResponse(List<Channel> channels, Response response)Create a GRIP hold response for HTTP long-polling.static StringGripControl. createHoldResponse(List<Channel> channels, Response response, int timeout)Create a GRIP hold response for HTTP long-polling.static StringGripControl. createHoldStream(List<Channel> channels)Create a GRIP hold stream for HTTP streaming.static StringGripControl. createHoldStream(List<Channel> channels, Response response)Create a GRIP hold stream for HTTP streaming.