All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yahoo.parsec.clients.ParsecClientDefine Maven / Gradle / Ivy

There is a newer version: 1.0.24
Show newest version
// Copyright 2016 Yahoo Inc.
// Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms.

package com.yahoo.parsec.clients;

/**
 * Created by hankting on 9/14/15.
 */
public final class ParsecClientDefine {

    /**
     * single request type.
     */
    public static final String REQUEST_SINGLE = "single";

    /**
     * single redirect retry request type.
     */
    public static final String REQUEST_SINGLE_RETRY = "single|retry";

    public static final String HEADER_PROFILING_REQUEST_COUNT = "req-count";
    public static final String HEADER_PROFILING_LAST_RESPONSE_CODE = "last-resp-code";
    public static final String PROFILING_ASYNC_PROGRESS = "progress";
    /**
     * host header key.
     */
    public static final String HEADER_HOST = "host";

    /**
     * content-length header key.
     */
    public static final String HEADER_CONTENT_LENGTH = "content-length";


    public static final String RESPONSE_ERROR = "response-error";


    /**
     * unused private constructor.
     */
    private ParsecClientDefine() {
        // no use
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy