Lucio Lelii 6 years ago
parent 1d55174ffd
commit 824a7c185b

@ -31,7 +31,8 @@ public class TargetFactory implements TargetFactoryDSL.AtClause{
Client client = ClientBuilder.newClient()
.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"));

Loading…
Cancel
Save