Java 类org.apache.http.impl.DefaultHttpResponseFactoryHC4 实例源码

项目:remote-files-sync    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(
        final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:remote-files-sync    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:Visit    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(
        final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:Visit    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:ZTLib    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(
        final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:ZTLib    文件:DefaultHttpResponseParserFactory.java   
public DefaultHttpResponseParserFactory(final LineParser lineParser,
        final HttpResponseFactory responseFactory) {
    super();
    this.lineParser = lineParser != null ? lineParser : BasicLineParserHC4.INSTANCE;
    this.responseFactory = responseFactory != null ? responseFactory
            : DefaultHttpResponseFactoryHC4.INSTANCE;
}
项目:remote-files-sync    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param responseFactory HTTP response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
            DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:remote-files-sync    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used
 * @param responseFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
        DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:Visit    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param responseFactory HTTP response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
            DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:Visit    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used
 * @param responseFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
        DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:ZTLib    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used.
 * @param responseFactory HTTP response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
            DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}
项目:ZTLib    文件:DefaultHttpResponseParser.java   
/**
 * Creates new instance of DefaultHttpResponseParser.
 *
 * @param buffer the session input buffer.
 * @param lineParser the line parser. If <code>null</code>
 *   {@link org.apache.http.message.BasicLineParserHC4#INSTANCE} will be used
 * @param responseFactory the response factory. If <code>null</code>
 *   {@link DefaultHttpResponseFactoryHC4#INSTANCE} will be used.
 * @param constraints the message constraints. If <code>null</code>
 *   {@link MessageConstraints#DEFAULT} will be used.
 *
 * @since 4.3
 */
public DefaultHttpResponseParser(
        final SessionInputBuffer buffer,
        final LineParser lineParser,
        final HttpResponseFactory responseFactory,
        final MessageConstraints constraints) {
    super(buffer, lineParser, constraints);
    this.responseFactory = responseFactory != null ? responseFactory :
        DefaultHttpResponseFactoryHC4.INSTANCE;
    this.lineBuf = new CharArrayBuffer(128);
}