2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.be.dao.rest;
23 public class RestConfigurationInfo {
25 private Integer readTimeoutInSec = null;
27 private Boolean ignoreCertificate = null;
29 private Integer connectionPoolSize = null;
31 private Integer connectTimeoutInSec = null;
33 private Integer socketTimeoutInSec = null;
36 * @return the readTimeoutInSec
38 public Integer getReadTimeoutInSec() {
39 return readTimeoutInSec;
43 * @param readTimeoutInSec
44 * the readTimeoutInSec to set
46 public void setReadTimeoutInSec(Integer readTimeoutInSec) {
47 this.readTimeoutInSec = readTimeoutInSec;
51 * @return the ignoreCertificate
53 public Boolean getIgnoreCertificate() {
54 return ignoreCertificate;
58 * @param ignoreCertificate
59 * the ignoreCertificate to set
61 public void setIgnoreCertificate(Boolean ignoreCertificate) {
62 this.ignoreCertificate = ignoreCertificate;
66 * @return the connectionPoolSize
68 public Integer getConnectionPoolSize() {
69 return connectionPoolSize;
73 * @param connectionPoolSize
74 * the connectionPoolSize to set
76 public void setConnectionPoolSize(Integer connectionPoolSize) {
77 this.connectionPoolSize = connectionPoolSize;
81 * @return the connectTimeoutInSec
83 public Integer getConnectTimeoutInSec() {
84 return connectTimeoutInSec;
88 * @param connectTimeoutInSec
89 * the connectTimeoutInSec to set
91 public void setConnectTimeoutInSec(Integer connectTimeoutInSec) {
92 this.connectTimeoutInSec = connectTimeoutInSec;
95 public Integer getSocketTimeoutInSec() {
96 return socketTimeoutInSec;
99 public void setSocketTimeoutInSec(Integer socketTimeoutInSec) {
100 this.socketTimeoutInSec = socketTimeoutInSec;
104 public String toString() {
105 return "RestConfigurationInfo [readTimeoutInSec=" + readTimeoutInSec + ", ignoreCertificate="
106 + ignoreCertificate + ", connectionPoolSize=" + connectionPoolSize + ", connectTimeoutInSec="
107 + connectTimeoutInSec + ", socketTimeoutInSec=" + socketTimeoutInSec + "]";