Compare commits
10 Commits
v2.0.3-jer
...
v2.0.4
Author | SHA1 | Date | |
---|---|---|---|
f4fce23b2c | |||
c30a2a3eee | |||
4d34b9c94e | |||
10589e8b88 | |||
46145e260a | |||
863340eaec | |||
241451ec4d | |||
008ded959f | |||
18426e562d | |||
77c101d64a |
6
pom.xml
6
pom.xml
@@ -6,8 +6,8 @@
|
||||
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>acs-public-rest-client</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
|
||||
<version>2.0.4</version>
|
||||
|
||||
<name>Alfresco Content Services ReST API Client for Java</name>
|
||||
<description>An ACS Client library for building REST API clients that support either the CXF and Jersey frameworks</description>
|
||||
<url>https://bitbucket.org/inteligr8/acs-public-rest-client</url>
|
||||
@@ -53,7 +53,7 @@
|
||||
<dependency>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>common-rest-client</artifactId>
|
||||
<version>2.0.4</version>
|
||||
<version>2.0.8</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
|
@@ -61,6 +61,12 @@ public abstract class AcsClientConfiguration implements ClientConfiguration {
|
||||
@Value("${content.service.security.oauth.grantPassword:#{null}}")
|
||||
private String oAuthPassword;
|
||||
|
||||
@Value("${content.service.http.connectTimeout:#{null}}")
|
||||
private Integer connectTimeoutInMillis;
|
||||
|
||||
@Value("${content.service.http.responseTimeout:#{null}}")
|
||||
private Integer responseTimeoutInMillis;
|
||||
|
||||
public String getBaseUrl() {
|
||||
return this.baseUrl;
|
||||
}
|
||||
@@ -148,5 +154,23 @@ public abstract class AcsClientConfiguration implements ClientConfiguration {
|
||||
public void setOAuthPassword(String oAuthPassword) {
|
||||
this.oAuthPassword = oAuthPassword;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer getConnectTimeoutInMillis() {
|
||||
return this.connectTimeoutInMillis;
|
||||
}
|
||||
|
||||
public void setConnectTimeoutInMillis(Integer connectTimeoutInMillis) {
|
||||
this.connectTimeoutInMillis = connectTimeoutInMillis;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer getResponseTimeoutInMillis() {
|
||||
return this.responseTimeoutInMillis;
|
||||
}
|
||||
|
||||
public void setResponseTimeoutInMillis(Integer responseTimeoutInMillis) {
|
||||
this.responseTimeoutInMillis = responseTimeoutInMillis;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user