play-ws
play-ws copied to clipboard
Make nullable getters use Optional<T> or Option[T]
In many places, the Java WSRequest and WSResponse still use methods which return null:
public interface StandaloneWSRequest {
String getUsername();
String getPassword();
WSAuthScheme getScheme();
WSSignatureCalculator getCalculator();
Duration getRequestTimeoutDuration();
boolean getFollowRedirects();
String getContentType();
}
And they should return Optional<String>
etc where appropriate.
Addressed by https://github.com/playframework/play-ws/pull/129
hi, is this one up for picking or is it already fixed by #129 ?
Hey, @dmitraver,
it was already addressed by #129.
Best.