Package akka.http.javadsl.model.headers
Class AccessControlAllowOrigin
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.AccessControlAllowOrigin
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
public abstract class AccessControlAllowOrigin extends HttpHeader
Model for the `Access-Control-Allow-Origin` header. Specification: http://www.w3.org/TR/cors/#access-control-allow-origin-response-header
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Constructor Summary
Constructors Constructor Description AccessControlAllowOrigin()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static AccessControlAllowOrigin
create(HttpOriginRange range)
static AccessControlAllowOrigin
nullOrigin()
abstract HttpOriginRange
range()
static AccessControlAllowOrigin
wildcard()
-
Methods inherited from class akka.http.scaladsl.model.HttpHeader
fastFind, is, isNot, lowercaseName, name, parse, unapply, unsafeToString, value
-
Methods inherited from class akka.http.javadsl.model.HttpHeader
parse, renderInRequests, renderInResponses
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Method Detail
-
range
public abstract HttpOriginRange range()
-
wildcard
public static AccessControlAllowOrigin wildcard()
-
nullOrigin
public static AccessControlAllowOrigin nullOrigin()
-
create
public static AccessControlAllowOrigin create(HttpOriginRange range)
-
-