Modify svnfm pom file for build docker
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / main / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / common / restclient / RestfulClientConst.java
1 /*
2  * Copyright 2016 Huawei Technologies Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.common.restclient;
18
19 /**
20  * Constants for ReST client.<br/>
21  * <p>
22  * </p>
23  * 
24  * @author
25  * @version 28-May-2016
26  */
27 public class RestfulClientConst {
28
29     /** -- json Ecode -- **/
30     public static final String APPLICATION_FORM_JSON_EBCIDED = "application/json";
31
32     /**
33      * urlencode
34      */
35     public static final String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded; charset=UTF-8";
36
37     public static final String ENCODING = "UTF-8";
38
39     public static final String SERVER_KEY_NAME = "defaultServer";
40
41     public static final String HOST_KEY_NAME = "host";
42
43     public static final String PORT_KEY_NAME = "port";
44
45     public static final String CONN_TIMEOUT_KEY_NAME = "ConnectTimeout";
46
47     public static final String THREAD_KEY_NAME = "thread";
48
49     public static final String IDLE_TIMEOUT_KEY_NAME = "idletimeout";
50
51     public static final String TIMEOUT_KEY_NAME = "timeout";
52
53     public static final String MAX_CONN_PER_ADDR_KEY_NAME = "maxConnectionPerAddr";
54
55     public static final String REQUEST_ID = "x-request-id";
56
57     public static final String MAX_RESPONSE_HEADER_SIZE = "responseHeaderSize";
58
59     public static final String MAX_REQUEST_HEADER_SIZE = "requestHeaderSize";
60
61     private RestfulClientConst() {
62
63     }
64 }