public interface

NHttpMessageWriter

org.apache.http.nio.NHttpMessageWriter<T extends org.apache.http.HttpMessage>
Known Indirect Subclasses

Class Overview

Abstract HTTP message writer for non-blocking connections.

Summary

Public Methods
abstract void reset()
Resets the writer.
abstract void write(T message)
Serializes out the HTTP message head.

Public Methods

public abstract void reset ()

Resets the writer. The writer will be ready to start serializing another HTTP message.

public abstract void write (T message)

Serializes out the HTTP message head.

Parameters
message HTTP message.
Throws
IOException in case of an I/O error.
HttpException in case the HTTP message is malformed or violates the HTTP protocol.