Java 类org.apache.http.message.BasicLineFormatterHC4 实例源码

项目:remote-files-sync    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter.
 * @param params HTTP parameters.
 *
 * @deprecated (4.3) use
 *   {@link AbstractMessageWriterHC4#AbstractMessageWriterHC4(SessionOutputBuffer, LineFormatter)}
 */
@Deprecated
public AbstractMessageWriterHC4(final SessionOutputBuffer buffer,
                             final LineFormatter formatter,
                             final HttpParams params) {
    super();
    Args.notNull(buffer, "Session input buffer");
    this.sessionBuffer = buffer;
    this.lineBuf = new CharArrayBuffer(128);
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
}
项目:Visit    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter.
 * @param params HTTP parameters.
 *
 * @deprecated (4.3) use
 *   {@link AbstractMessageWriterHC4#AbstractMessageWriterHC4(SessionOutputBuffer, LineFormatter)}
 */
@Deprecated
public AbstractMessageWriterHC4(final SessionOutputBuffer buffer,
                             final LineFormatter formatter,
                             final HttpParams params) {
    super();
    Args.notNull(buffer, "Session input buffer");
    this.sessionBuffer = buffer;
    this.lineBuf = new CharArrayBuffer(128);
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
}
项目:ZTLib    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter.
 * @param params HTTP parameters.
 *
 * @deprecated (4.3) use
 *   {@link AbstractMessageWriterHC4#AbstractMessageWriterHC4(SessionOutputBuffer, LineFormatter)}
 */
@Deprecated
public AbstractMessageWriterHC4(final SessionOutputBuffer buffer,
                             final LineFormatter formatter,
                             final HttpParams params) {
    super();
    Args.notNull(buffer, "Session input buffer");
    this.sessionBuffer = buffer;
    this.lineBuf = new CharArrayBuffer(128);
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
}
项目:remote-files-sync    文件:DefaultHttpRequestWriterFactory.java   
public DefaultHttpRequestWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:remote-files-sync    文件:DefaultHttpResponseWriterFactory.java   
public DefaultHttpResponseWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:Visit    文件:DefaultHttpRequestWriterFactory.java   
public DefaultHttpRequestWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:Visit    文件:DefaultHttpResponseWriterFactory.java   
public DefaultHttpResponseWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:ZTLib    文件:DefaultHttpRequestWriterFactory.java   
public DefaultHttpRequestWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:ZTLib    文件:DefaultHttpResponseWriterFactory.java   
public DefaultHttpResponseWriterFactory(final LineFormatter lineFormatter) {
    super();
    this.lineFormatter = lineFormatter != null ? lineFormatter : BasicLineFormatterHC4.INSTANCE;
}
项目:remote-files-sync    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter If <code>null</code> {@link BasicLineFormatterHC4#INSTANCE}
 *   will be used.
 *
 * @since 4.3
 */
public AbstractMessageWriterHC4(
        final SessionOutputBuffer buffer,
        final LineFormatter formatter) {
    super();
    this.sessionBuffer = Args.notNull(buffer, "Session input buffer");
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:Visit    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter If <code>null</code> {@link BasicLineFormatterHC4#INSTANCE}
 *   will be used.
 *
 * @since 4.3
 */
public AbstractMessageWriterHC4(
        final SessionOutputBuffer buffer,
        final LineFormatter formatter) {
    super();
    this.sessionBuffer = Args.notNull(buffer, "Session input buffer");
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:ZTLib    文件:AbstractMessageWriterHC4.java   
/**
 * Creates an instance of AbstractMessageWriterHC4.
 *
 * @param buffer the session output buffer.
 * @param formatter the line formatter If <code>null</code> {@link BasicLineFormatterHC4#INSTANCE}
 *   will be used.
 *
 * @since 4.3
 */
public AbstractMessageWriterHC4(
        final SessionOutputBuffer buffer,
        final LineFormatter formatter) {
    super();
    this.sessionBuffer = Args.notNull(buffer, "Session input buffer");
    this.lineFormatter = (formatter != null) ? formatter : BasicLineFormatterHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}