Polish
See gh-29928
This commit is contained in:
committed by
Sébastien Deleuze
parent
5b67dea506
commit
4c351e811a
@@ -265,7 +265,7 @@ public class ProtobufDecoder extends ProtobufCodecSupport implements Decoder<Mes
|
||||
* Parse message size as a varint from the input stream, updating {@code messageBytesToRead} and
|
||||
* {@code offset} fields if needed to allow processing of upcoming chunks.
|
||||
* Inspired from {@link CodedInputStream#readRawVarint32(int, java.io.InputStream)}
|
||||
* @return {code true} when the message size is parsed successfully, {code false} when the message size is
|
||||
* @return {@code true} when the message size is parsed successfully, {@code false} when the message size is
|
||||
* truncated
|
||||
* @see <a href="https://developers.google.com/protocol-buffers/docs/encoding#varints">Base 128 Varints</a>
|
||||
*/
|
||||
|
||||
@@ -66,7 +66,7 @@ public abstract class CorsUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the request is a valid CORS pre-flight one by checking {code OPTIONS} method with
|
||||
* Returns {@code true} if the request is a valid CORS pre-flight one by checking {@code OPTIONS} method with
|
||||
* {@code Origin} and {@code Access-Control-Request-Method} headers presence.
|
||||
*/
|
||||
public static boolean isPreFlightRequest(HttpServletRequest request) {
|
||||
|
||||
@@ -45,7 +45,7 @@ public abstract class CorsUtils {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the request is a valid CORS pre-flight one by checking {code OPTIONS} method with
|
||||
* Returns {@code true} if the request is a valid CORS pre-flight one by checking {@code OPTIONS} method with
|
||||
* {@code Origin} and {@code Access-Control-Request-Method} headers presence.
|
||||
*/
|
||||
public static boolean isPreFlightRequest(ServerHttpRequest request) {
|
||||
|
||||
Reference in New Issue
Block a user