接口 OutputStreamPublisher.ByteMapper<T>

类型参数:
T - the type to map to
所有已知实现类:
JdkClientHttpRequest.ByteBufferMapper, ReactorNettyClientRequest.ByteBufMapper
封闭类:
OutputStreamPublisher<T>

public static interface OutputStreamPublisher.ByteMapper<T>
Maps bytes written to in OutputStreamPublisher.OutputStreamHandler.handle(OutputStream) to published items.
  • 方法概要

    修饰符和类型
    方法
    说明
    map(byte[] b, int off, int len)
    Maps a byte array to T.
    map(int b)
    Maps a single byte to T.
  • 方法详细资料

    • map

      T map(int b)
      Maps a single byte to T.
    • map

      T map(byte[] b, int off, int len)
      Maps a byte array to T.