File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed
spring-web/src/main/java/org/springframework Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 24
24
* @author Arjen Poutsma
25
25
* @author Sebastien Deleuze
26
26
* @author Brian Clozel
27
+ * @since 3.0
27
28
* @see HttpStatus.Series
28
29
* @see <a href="http://www.iana.org/assignments/http-status-codes">HTTP Status Code Registry</a>
29
30
* @see <a href="http://en.wikipedia.org/wiki/List_of_HTTP_status_codes">List of HTTP status codes - Wikipedia</a>
Original file line number Diff line number Diff line change 1
1
/**
2
- * {@link org.springframework.http.converter.reactive.HttpMessageConverter}
2
+ * {@link org.springframework.http.converter.reactive.HttpMessageReader},
3
+ * {@link org.springframework.http.converter.reactive.HttpMessageWriter}
3
4
* and implementations for use with reactive
4
5
* {@link org.springframework.core.codec.Encoder} and
5
6
* {@link org.springframework.core.codec.Decoder} implementations.
Original file line number Diff line number Diff line change @@ -174,9 +174,8 @@ private DOMSource readDOMSource(InputStream body) throws IOException {
174
174
}
175
175
catch (NullPointerException ex ) {
176
176
if (!isSupportDtd ()) {
177
- throw new HttpMessageNotReadableException ("NPE while unmarshalling. " +
178
- "This can happen on JDK 1.6 due to the presence of DTD " +
179
- "declarations, which are disabled." , ex );
177
+ throw new HttpMessageNotReadableException ("NPE while unmarshalling: " +
178
+ "This can happen due to the presence of DTD declarations which are disabled." , ex );
180
179
}
181
180
throw ex ;
182
181
}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public static String htmlEscape(String input) {
74
74
* http://www.w3.org/TR/html4/sgml/entities.html
75
75
* </a>
76
76
* @param input the (unescaped) input string
77
- * @param encoding The name of a supported {@link java.nio.charset.Charset charset}
77
+ * @param encoding the name of a supported {@link java.nio.charset.Charset charset}
78
78
* @return the escaped string
79
79
* @since 4.1.2
80
80
*/
@@ -125,7 +125,7 @@ public static String htmlEscapeDecimal(String input) {
125
125
* http://www.w3.org/TR/html4/sgml/entities.html
126
126
* </a>
127
127
* @param input the (unescaped) input string
128
- * @param encoding The name of a supported {@link java.nio.charset.Charset charset}
128
+ * @param encoding the name of a supported {@link java.nio.charset.Charset charset}
129
129
* @return the escaped string
130
130
* @since 4.1.2
131
131
*/
@@ -177,7 +177,7 @@ public static String htmlEscapeHex(String input) {
177
177
* http://www.w3.org/TR/html4/sgml/entities.html
178
178
* </a>
179
179
* @param input the (unescaped) input string
180
- * @param encoding The name of a supported {@link java.nio.charset.Charset charset}
180
+ * @param encoding the name of a supported {@link java.nio.charset.Charset charset}
181
181
* @return the escaped string
182
182
* @since 4.1.2
183
183
*/
Original file line number Diff line number Diff line change @@ -484,8 +484,8 @@ protected String determineEncoding(HttpServletRequest request) {
484
484
* @return the updated URI string
485
485
*/
486
486
public String removeSemicolonContent (String requestUri ) {
487
- return this .removeSemicolonContent ?
488
- removeSemicolonContentInternal (requestUri ) : removeJsessionid (requestUri );
487
+ return ( this .removeSemicolonContent ?
488
+ removeSemicolonContentInternal (requestUri ) : removeJsessionid (requestUri )) ;
489
489
}
490
490
491
491
private String removeSemicolonContentInternal (String requestUri ) {
You can’t perform that action at this time.
0 commit comments