Lucio Lelii 6 years ago
parent 226fcbf002
commit 27800e7885

@ -29,7 +29,9 @@ public class TargetFactory implements TargetFactoryDSL.AtClause{
try{
Client client = ClientBuilder.newClient().property(ClientProperties.FOLLOW_REDIRECTS, Boolean.FALSE);
Client client = ClientBuilder.newClient()
.property(ClientProperties.FOLLOW_REDIRECTS, Boolean.FALSE)
.property(ClientProperties.CHUNKED_ENCODING_SIZE, 1024*1024);
/*
String resourceAddress = address.substring(0, address.indexOf("/service"));

Loading…
Cancel
Save