CorsSettings

ch.megard.akka.http.cors.javadsl.settings.CorsSettings
See theCorsSettings companion object
@DoNotInherit
abstract class CorsSettings

Public API but not intended for subclassing

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
CorsSettingsImpl

Members list

Concise view

Value members

Abstract methods

def getAllowCredentials: Boolean
def getAllowedHeaders: HttpHeaderRange
def getAllowedMethods: Iterable[HttpMethod]
def getAllowedOrigins: HttpOriginMatcher
def getExposedHeaders: Iterable[String]
def getMaxAge: Optional[Long]
def withAllowCredentials(newValue: Boolean): CorsSettings
def withAllowedHeaders(newValue: HttpHeaderRange): CorsSettings
def withAllowedMethods(newValue: Iterable[HttpMethod]): CorsSettings
def withAllowedOrigins(newValue: HttpOriginMatcher): CorsSettings
def withExposedHeaders(newValue: Iterable[String]): CorsSettings
def withMaxAge(newValue: Optional[Long]): CorsSettings