类 JettyClientHttpConnector.JettyDataBuffer

java.lang.Object
cn.taketoday.http.client.reactive.JettyClientHttpConnector.JettyDataBuffer
所有已实现的接口:
cn.taketoday.core.io.buffer.DataBuffer, cn.taketoday.core.io.buffer.PooledDataBuffer, cn.taketoday.core.io.buffer.TouchableDataBuffer
封闭类:
JettyClientHttpConnector

private static final class JettyClientHttpConnector.JettyDataBuffer extends Object implements cn.taketoday.core.io.buffer.PooledDataBuffer
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    private static final class 
     

    从接口继承的嵌套类/接口 cn.taketoday.core.io.buffer.DataBuffer

    cn.taketoday.core.io.buffer.DataBuffer.ByteBufferIterator
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final org.eclipse.jetty.io.Content.Chunk
     
    private final cn.taketoday.core.io.buffer.DataBuffer
     
    private final AtomicInteger
     
  • 构造器概要

    构造器
    构造器
    说明
    JettyDataBuffer(cn.taketoday.core.io.buffer.DataBuffer delegate, org.eclipse.jetty.io.Content.Chunk chunk)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    已过时。
    asByteBuffer(int index, int length)
    已过时。
    int
     
    cn.taketoday.core.io.buffer.DataBuffer
    capacity(int capacity)
    已过时。
    cn.taketoday.core.io.buffer.DataBuffer
    ensureWritable(int capacity)
     
    cn.taketoday.core.io.buffer.DataBufferFactory
     
    byte
    getByte(int index)
     
    int
    indexOf(IntPredicate predicate, int fromIndex)
     
    boolean
     
    int
    lastIndexOf(IntPredicate predicate, int fromIndex)
     
    byte
     
    cn.taketoday.core.io.buffer.DataBuffer
    read(byte[] destination)
     
    cn.taketoday.core.io.buffer.DataBuffer
    read(byte[] destination, int offset, int length)
     
    cn.taketoday.core.io.buffer.DataBuffer.ByteBufferIterator
     
    int
     
    int
     
    cn.taketoday.core.io.buffer.DataBuffer
    readPosition(int readPosition)
     
    boolean
     
    cn.taketoday.core.io.buffer.PooledDataBuffer
     
    cn.taketoday.core.io.buffer.DataBuffer
    slice(int index, int length)
    已过时。
    cn.taketoday.core.io.buffer.DataBuffer
    split(int index)
     
    toByteBuffer(int index, int length)
    已过时。
    void
    toByteBuffer(int srcPos, ByteBuffer dest, int destPos, int length)
     
    toString(int index, int length, Charset charset)
     
    cn.taketoday.core.io.buffer.PooledDataBuffer
    touch(Object hint)
     
    cn.taketoday.core.io.buffer.DataBuffer.ByteBufferIterator
     
    int
     
    cn.taketoday.core.io.buffer.DataBuffer
    write(byte b)
     
    cn.taketoday.core.io.buffer.DataBuffer
    write(byte[] source)
     
    cn.taketoday.core.io.buffer.DataBuffer
    write(byte[] source, int offset, int length)
     
    cn.taketoday.core.io.buffer.DataBuffer
    write(cn.taketoday.core.io.buffer.DataBuffer... buffers)
     
    cn.taketoday.core.io.buffer.DataBuffer
    write(ByteBuffer... buffers)
     
    int
     
    cn.taketoday.core.io.buffer.DataBuffer
    writePosition(int writePosition)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 cn.taketoday.core.io.buffer.DataBuffer

    asInputStream, asInputStream, asOutputStream, retainedSlice, toByteBuffer, toByteBuffer, toString, write
  • 字段详细资料

    • delegate

      private final cn.taketoday.core.io.buffer.DataBuffer delegate
    • chunk

      private final org.eclipse.jetty.io.Content.Chunk chunk
    • refCount

      private final AtomicInteger refCount
  • 构造器详细资料

    • JettyDataBuffer

      public JettyDataBuffer(cn.taketoday.core.io.buffer.DataBuffer delegate, org.eclipse.jetty.io.Content.Chunk chunk)
  • 方法详细资料

    • isAllocated

      public boolean isAllocated()
      指定者:
      isAllocated 在接口中 cn.taketoday.core.io.buffer.PooledDataBuffer
    • retain

      public cn.taketoday.core.io.buffer.PooledDataBuffer retain()
      指定者:
      retain 在接口中 cn.taketoday.core.io.buffer.PooledDataBuffer
    • release

      public boolean release()
      指定者:
      release 在接口中 cn.taketoday.core.io.buffer.PooledDataBuffer
    • touch

      public cn.taketoday.core.io.buffer.PooledDataBuffer touch(Object hint)
      指定者:
      touch 在接口中 cn.taketoday.core.io.buffer.PooledDataBuffer
      指定者:
      touch 在接口中 cn.taketoday.core.io.buffer.TouchableDataBuffer
    • factory

      public cn.taketoday.core.io.buffer.DataBufferFactory factory()
      指定者:
      factory 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • indexOf

      public int indexOf(IntPredicate predicate, int fromIndex)
      指定者:
      indexOf 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • lastIndexOf

      public int lastIndexOf(IntPredicate predicate, int fromIndex)
      指定者:
      lastIndexOf 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • readableByteCount

      public int readableByteCount()
      指定者:
      readableByteCount 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • writableByteCount

      public int writableByteCount()
      指定者:
      writableByteCount 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • capacity

      public int capacity()
      指定者:
      capacity 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • capacity

      @Deprecated public cn.taketoday.core.io.buffer.DataBuffer capacity(int capacity)
      已过时。
      指定者:
      capacity 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • ensureWritable

      public cn.taketoday.core.io.buffer.DataBuffer ensureWritable(int capacity)
      指定者:
      ensureWritable 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • readPosition

      public int readPosition()
      指定者:
      readPosition 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • readPosition

      public cn.taketoday.core.io.buffer.DataBuffer readPosition(int readPosition)
      指定者:
      readPosition 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • writePosition

      public int writePosition()
      指定者:
      writePosition 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • writePosition

      public cn.taketoday.core.io.buffer.DataBuffer writePosition(int writePosition)
      指定者:
      writePosition 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • getByte

      public byte getByte(int index)
      指定者:
      getByte 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • read

      public byte read()
      指定者:
      read 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • read

      public cn.taketoday.core.io.buffer.DataBuffer read(byte[] destination)
      指定者:
      read 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • read

      public cn.taketoday.core.io.buffer.DataBuffer read(byte[] destination, int offset, int length)
      指定者:
      read 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • write

      public cn.taketoday.core.io.buffer.DataBuffer write(byte b)
      指定者:
      write 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • write

      public cn.taketoday.core.io.buffer.DataBuffer write(byte[] source)
      指定者:
      write 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • write

      public cn.taketoday.core.io.buffer.DataBuffer write(byte[] source, int offset, int length)
      指定者:
      write 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • write

      public cn.taketoday.core.io.buffer.DataBuffer write(cn.taketoday.core.io.buffer.DataBuffer... buffers)
      指定者:
      write 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • write

      public cn.taketoday.core.io.buffer.DataBuffer write(ByteBuffer... buffers)
      指定者:
      write 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • slice

      @Deprecated public cn.taketoday.core.io.buffer.DataBuffer slice(int index, int length)
      已过时。
      指定者:
      slice 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • split

      public cn.taketoday.core.io.buffer.DataBuffer split(int index)
      指定者:
      split 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • asByteBuffer

      @Deprecated public ByteBuffer asByteBuffer()
      已过时。
      指定者:
      asByteBuffer 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • asByteBuffer

      @Deprecated public ByteBuffer asByteBuffer(int index, int length)
      已过时。
      指定者:
      asByteBuffer 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • toByteBuffer

      @Deprecated public ByteBuffer toByteBuffer(int index, int length)
      已过时。
      指定者:
      toByteBuffer 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • toByteBuffer

      public void toByteBuffer(int srcPos, ByteBuffer dest, int destPos, int length)
      指定者:
      toByteBuffer 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • readableByteBuffers

      public cn.taketoday.core.io.buffer.DataBuffer.ByteBufferIterator readableByteBuffers()
      指定者:
      readableByteBuffers 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • writableByteBuffers

      public cn.taketoday.core.io.buffer.DataBuffer.ByteBufferIterator writableByteBuffers()
      指定者:
      writableByteBuffers 在接口中 cn.taketoday.core.io.buffer.DataBuffer
    • toString

      public String toString(int index, int length, Charset charset)
      指定者:
      toString 在接口中 cn.taketoday.core.io.buffer.DataBuffer