Skip to content

Commit a3e81e5

Browse files
committed
update javadoc
1 parent a0ec783 commit a3e81e5

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

unirest/src/main/java/kong/unirest/Cookie.java

+7-4
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,6 @@ public void setHttpOnly(boolean httpOnly) {
183183
this.httpOnly = httpOnly;
184184
}
185185

186-
public String getUrlDecodedValue() {
187-
return getDecode(value);
188-
}
189-
190186
private static class Pair {
191187
final String key;
192188
final String value;
@@ -219,6 +215,13 @@ public String getValue() {
219215
return value;
220216
}
221217

218+
/**
219+
* @return the cookie-value, url-decoded
220+
*/
221+
public String getUrlDecodedValue() {
222+
return getDecode(value);
223+
}
224+
222225
/**
223226
* @return the domain value of the cookie
224227
*/

unirest/src/main/java/kong/unirest/HttpRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public interface HttpRequest<R extends HttpRequest> {
181181
/**
182182
* sets a download monitor for monitoring the response. this could be used for drawing a progress bar
183183
* @param monitor a ProgressMonitor
184-
* @return
184+
* @return this request builder
185185
*/
186186
R downloadMonitor(ProgressMonitor monitor);
187187

0 commit comments

Comments
 (0)