setBinaryContent, setCharset 方法返回this, 方便链式调用
parent
6f5b9e448e
commit
a7e3090711
|
@ -174,16 +174,18 @@ public class Request implements Serializable {
|
|||
return binaryContent;
|
||||
}
|
||||
|
||||
public void setBinaryContent(boolean binaryContent) {
|
||||
public Request setBinaryContent(boolean binaryContent) {
|
||||
this.binaryContent = binaryContent;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getCharset() {
|
||||
return charset;
|
||||
}
|
||||
|
||||
public void setCharset(String charset) {
|
||||
public Request setCharset(String charset) {
|
||||
this.charset = charset;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue