Package com.linecorp.centraldogma.server
Class CorsConfig
java.lang.Object
com.linecorp.centraldogma.server.CorsConfig
CORS configuration.
-
Constructor Summary
ConstructorDescriptionCorsConfig
(Object allowedOrigins, Integer maxAgeSeconds) Creates an instance with the specifiedallowedOrigins
andmaxAgeSeconds
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of origins which are allowed a CORS policy.int
Returns how long in seconds the results of a preflight request can be cached.toString()
-
Constructor Details
-
CorsConfig
Creates an instance with the specifiedallowedOrigins
andmaxAgeSeconds
.
-
-
Method Details