Browse Source

Add missing overrides to ServerHttpResponseDecorator

Closes gh-27889
pull/28119/head
rstoyanchev 4 years ago
parent
commit
caaf48d4ec
  1. 12
      spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpResponseDecorator.java

12
spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpResponseDecorator.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2021 the original author or authors. * Copyright 2002-2022 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -65,6 +65,16 @@ public class ServerHttpResponseDecorator implements ServerHttpResponse {
return getDelegate().getStatusCode(); return getDelegate().getStatusCode();
} }
@Override
public boolean setRawStatusCode(@Nullable Integer value) {
return getDelegate().setRawStatusCode(value);
}
@Override
public Integer getRawStatusCode() {
return getDelegate().getRawStatusCode();
}
@Override @Override
public HttpHeaders getHeaders() { public HttpHeaders getHeaders() {
return getDelegate().getHeaders(); return getDelegate().getHeaders();

Loading…
Cancel
Save