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