add content method with bytes for netty client
This commit is contained in:
parent
8b0f593ed7
commit
acdbd0c028
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
group = org.xbib
|
||||
name = net-http
|
||||
version = 4.0.0
|
||||
version = 4.0.1
|
||||
|
||||
org.gradle.warning.mode = ALL
|
||||
|
|
|
@ -128,6 +128,12 @@ public class HttpRequestBuilder extends BaseHttpRequestBuilder {
|
|||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpRequestBuilder content(byte[] bytes, String contentType) {
|
||||
super.content(bytes, contentType);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpRequestBuilder setFollowRedirect(boolean followRedirect) {
|
||||
super.setFollowRedirect(followRedirect);
|
||||
|
|
Loading…
Reference in a new issue