git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/common/common-jaxrs-client/1.0@169677 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1d55174ffd
commit
824a7c185b
|
@ -31,7 +31,8 @@ public class TargetFactory implements TargetFactoryDSL.AtClause{
|
||||||
|
|
||||||
Client client = ClientBuilder.newClient()
|
Client client = ClientBuilder.newClient()
|
||||||
.property(ClientProperties.FOLLOW_REDIRECTS, Boolean.FALSE)
|
.property(ClientProperties.FOLLOW_REDIRECTS, Boolean.FALSE)
|
||||||
.property(ClientProperties.CHUNKED_ENCODING_SIZE, 1024);
|
.property(ClientProperties.CHUNKED_ENCODING_SIZE, 1024).property(ClientProperties.OUTBOUND_CONTENT_LENGTH_BUFFER, -1)
|
||||||
|
.property(ClientProperties.REQUEST_ENTITY_PROCESSING, "CHUNKED");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
String resourceAddress = address.substring(0, address.indexOf("/service"));
|
String resourceAddress = address.substring(0, address.indexOf("/service"));
|
||||||
|
|
Loading…
Reference in New Issue