|
|
@ -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() { |
|
|
|
public Long getMaxAge() { |
|
|
|
return maxAge; |
|
|
|
return maxAge; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Check the origin of the request against the configured allowed origins. |
|
|
|
* Check the origin of the request against the configured allowed origins. |
|
|
|
* @param requestOrigin the origin to check. |
|
|
|
* @param requestOrigin the origin to check. |
|
|
|