Polishing

This commit is contained in:
Arjen Poutsma
2020-12-01 11:19:10 +01:00
parent 0c825621b8
commit 0978cc629a

View File

@@ -270,6 +270,10 @@ class DefaultServerRequest implements ServerRequest {
return Optional.ofNullable(this.serverHttpRequest.getPrincipal());
}
@Override
public String toString() {
return String.format("HTTP %s %s", method(), path());
}
static Optional<ServerResponse> checkNotModified(
HttpServletRequest servletRequest, @Nullable Instant lastModified, @Nullable String etag) {