if (entity == null && (HttpPostHC4.METHOD_NAME.equalsIgnoreCase(method) || HttpPutHC4.METHOD_NAME.equalsIgnoreCase(method))) { entity = new UrlEncodedFormEntityHC4(parameters, Charset.forName(HTTP.DEFAULT_CONTENT_CHARSET)); } else { try {
e = new InputStreamEntityHC4(this.stream, 1, getContentOrDefault(ContentType.DEFAULT_BINARY)); } else if (this.parameters != null) { e = new UrlEncodedFormEntityHC4(this.parameters, this.contentType != null ? this.contentType.getCharset() : null); } else if (this.serializable != null) {