Package akka.http.scaladsl.model.headers
Class CacheDirective.CustomCacheDirective
- java.lang.Object
-
- akka.http.scaladsl.model.headers.CacheDirective.CustomCacheDirective
-
- All Implemented Interfaces:
Renderable
,ToStringRenderable
,ValueRenderable
,CacheDirective
,CacheDirective
,CacheDirective.RequestDirective
,CacheDirective.ResponseDirective
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing interface:
- CacheDirective
public static final class CacheDirective.CustomCacheDirective extends java.lang.Object implements CacheDirective.RequestDirective, CacheDirective.ResponseDirective, ValueRenderable, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.http.scaladsl.model.headers.CacheDirective
CacheDirective.CustomCacheDirective, CacheDirective.CustomCacheDirective$, CacheDirective.FieldNamesDirective, CacheDirective.RequestDirective, CacheDirective.ResponseDirective
-
-
Constructor Summary
Constructors Constructor Description CustomCacheDirective(java.lang.String name, scala.Option<java.lang.String> content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.Option<java.lang.String>
content()
java.lang.String
name()
<R extends Rendering>
Renderingrender(R r)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.http.scaladsl.model.headers.CacheDirective
value
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
Methods inherited from interface akka.http.impl.util.ValueRenderable
value
-
-
-
-
Method Detail
-
name
public java.lang.String name()
-
content
public scala.Option<java.lang.String> content()
-
render
public <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
-