public class

ContentEncoderChannel

extends Object
implements WritableByteChannel
java.lang.Object
   ↳ org.apache.http.nio.ContentEncoderChannel

Class Overview

A WritableByteChannel that delegates to a ContentEncoder. Attempts to close this channel are ignored, and isOpen() always returns true.

Summary

Public Constructors
ContentEncoderChannel(ContentEncoder contentEncoder)
Public Methods
void close()
boolean isOpen()
int write(ByteBuffer src)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.io.Closeable
From interface java.nio.channels.Channel
From interface java.nio.channels.WritableByteChannel

Public Constructors

public ContentEncoderChannel (ContentEncoder contentEncoder)

Public Methods

public void close ()

public boolean isOpen ()

public int write (ByteBuffer src)

Throws
IOException