|
|
|
@ -242,13 +242,12 @@ public class CorsConfiguration {
@@ -242,13 +242,12 @@ public class CorsConfiguration {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Return the configure maxAge value, possibly {@code null}. |
|
|
|
|
* Return the configured maxAge value, possibly {@code null}. |
|
|
|
|
*/ |
|
|
|
|
public Long getMaxAge() { |
|
|
|
|
return maxAge; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Check the origin of the request against the configured allowed origins. |
|
|
|
|
* @param requestOrigin the origin to check. |
|
|
|
|