| Package | Description |
|---|---|
| com.linecorp.armeria.server.cors |
Cross-Origin Resource Sharing
(CORS) support.
|
| Modifier and Type | Method and Description |
|---|---|
CorsPolicy |
CorsPolicyBuilder.build()
Returns a newly-created
CorsPolicy based on the properties of this builder. |
CorsPolicy |
CorsConfig.getPolicy(String origin,
RoutingContext routingContext)
Returns the policy for the specified
origin. |
| Modifier and Type | Method and Description |
|---|---|
List<CorsPolicy> |
CorsConfig.policies()
Returns the policies.
|
| Modifier and Type | Method and Description |
|---|---|
CorsServiceBuilder |
CorsServiceBuilder.addPolicy(CorsPolicy policy)
Adds a
CorsPolicy instance in the service. |
Copyright © 2020 LeanCloud. All rights reserved.