类的使用
org.springframework.core.io.buffer.NettyDataBufferFactory
使用NettyDataBufferFactory的程序包 程序包 说明 org.springframework.core.io.buffer Generic abstraction for working with byte buffer implementations.org.springframework.web.reactive.socket.adapter Classes adapting Spring's Reactive WebSocket API to and from WebSocket runtimes.org.springframework.core.io.buffer中NettyDataBufferFactory的使用
返回NettyDataBufferFactory的org.springframework.core.io.buffer中的方法 修饰符和类型 方法 说明 NettyDataBufferFactory
NettyDataBuffer. factory()
org.springframework.web.reactive.socket.adapter中NettyDataBufferFactory的使用
返回NettyDataBufferFactory的org.springframework.web.reactive.socket.adapter中的方法 修饰符和类型 方法 说明 NettyDataBufferFactory
NettyWebSocketSessionSupport. bufferFactory()
参数类型为NettyDataBufferFactory的org.springframework.web.reactive.socket.adapter中的构造器 构造器 说明 NettyWebSocketSessionSupport(T delegate, HandshakeInfo info, NettyDataBufferFactory factory)
ReactorNettyWebSocketSession(reactor.netty.http.websocket.WebsocketInbound inbound, reactor.netty.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory)
Constructor for the session, using theNettyWebSocketSessionSupport.DEFAULT_FRAME_MAX_SIZE
value.ReactorNettyWebSocketSession(reactor.netty.http.websocket.WebsocketInbound inbound, reactor.netty.http.websocket.WebsocketOutbound outbound, HandshakeInfo info, NettyDataBufferFactory bufferFactory, int maxFramePayloadLength)
Constructor with an additional maxFramePayloadLength argument.