Skip to content

Commit caaf48d

Browse files
committed
Add missing overrides to ServerHttpResponseDecorator
Closes gh-27889
1 parent e52fc21 commit caaf48d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -65,6 +65,16 @@ public HttpStatus getStatusCode() {
6565
return getDelegate().getStatusCode();
6666
}
6767

68+
@Override
69+
public boolean setRawStatusCode(@Nullable Integer value) {
70+
return getDelegate().setRawStatusCode(value);
71+
}
72+
73+
@Override
74+
public Integer getRawStatusCode() {
75+
return getDelegate().getRawStatusCode();
76+
}
77+
6878
@Override
6979
public HttpHeaders getHeaders() {
7080
return getDelegate().getHeaders();

0 commit comments

Comments
 (0)