Compare commits
5 Commits
v2.0.3-jer
...
v2.0.4-jer
Author | SHA1 | Date | |
---|---|---|---|
faa7f5fa39 | |||
4329034256 | |||
e0ba345686 | |||
4d34b9c94e | |||
10589e8b88 |
4
pom.xml
4
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
<artifactId>acs-public-rest-client</artifactId>
|
<artifactId>acs-public-rest-client</artifactId>
|
||||||
<version>2.0.3-jersey</version>
|
<version>2.0.4-jersey</version>
|
||||||
|
|
||||||
<name>Alfresco Content Services ReST API Client for Java</name>
|
<name>Alfresco Content Services ReST API Client for Java</name>
|
||||||
<description>An ACS Client library for building Jersey-based REST API clients</description>
|
<description>An ACS Client library for building Jersey-based REST API clients</description>
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>common-rest-client</artifactId>
|
<artifactId>common-rest-client</artifactId>
|
||||||
<version>2.0.4-jersey</version>
|
<version>2.0.8-jersey</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
|
@@ -61,6 +61,12 @@ public abstract class AcsClientConfiguration implements ClientConfiguration {
|
|||||||
@Value("${content.service.security.oauth.grantPassword:#{null}}")
|
@Value("${content.service.security.oauth.grantPassword:#{null}}")
|
||||||
private String oAuthPassword;
|
private String oAuthPassword;
|
||||||
|
|
||||||
|
@Value("${content.service.http.connectTimeout:#{null}}")
|
||||||
|
private Integer connectTimeoutInMillis;
|
||||||
|
|
||||||
|
@Value("${content.service.http.responseTimeout:#{null}}")
|
||||||
|
private Integer responseTimeoutInMillis;
|
||||||
|
|
||||||
public String getBaseUrl() {
|
public String getBaseUrl() {
|
||||||
return this.baseUrl;
|
return this.baseUrl;
|
||||||
}
|
}
|
||||||
@@ -148,5 +154,23 @@ public abstract class AcsClientConfiguration implements ClientConfiguration {
|
|||||||
public void setOAuthPassword(String oAuthPassword) {
|
public void setOAuthPassword(String oAuthPassword) {
|
||||||
this.oAuthPassword = 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