Package akka.http.scaladsl.model.headers
Class Link
- java.lang.Object
-
- akka.http.javadsl.model.HttpHeader
-
- akka.http.scaladsl.model.HttpHeader
-
- akka.http.javadsl.model.headers.Link
-
- akka.http.scaladsl.model.headers.Link
-
- All Implemented Interfaces:
Renderable,ToStringRenderable,ModeledHeader,RequestHeader,RequestResponseHeader,ResponseHeader,java.io.Serializable,scala.Equals,scala.Product
public final class Link extends Link implements RequestResponseHeader, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.http.scaladsl.model.HttpHeader
HttpHeader.ParsingResult, HttpHeader.ParsingResult$
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Linkapply(LinkValue firstValue, scala.collection.immutable.Seq<LinkValue> otherValues)static Linkapply(Uri uri, LinkParam first, scala.collection.immutable.Seq<LinkParam> more)protected Link$companion()java.lang.Iterable<LinkValue>getValues()Java APIstatic java.lang.StringlowercaseName()static java.lang.Stringname()static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T>parseFromValueString(java.lang.String value)static <R extends Rendering>
Renderingrender(R r)<R extends Rendering>
RenderingrenderValue(R r)scala.collection.immutable.Seq<LinkValue>values()static Renderer<scala.collection.immutable.Iterable<LinkValue>>valuesRenderer()-
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.scaladsl.model.headers.ModeledHeader
lowercaseName, name, render, value
-
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Methods inherited from interface akka.http.impl.util.Renderable
render
-
Methods inherited from interface akka.http.scaladsl.model.headers.RequestHeader
renderInRequests
-
Methods inherited from interface akka.http.scaladsl.model.headers.ResponseHeader
renderInResponses
-
Methods inherited from interface akka.http.impl.util.ToStringRenderable
toString
-
-
-
-
Constructor Detail
-
Link
public Link(scala.collection.immutable.Seq<LinkValue> values)
-
-
Method Detail
-
apply
public static Link apply(Uri uri, LinkParam first, scala.collection.immutable.Seq<LinkParam> more)
-
apply
public static Link apply(LinkValue firstValue, scala.collection.immutable.Seq<LinkValue> otherValues)
-
valuesRenderer
public static Renderer<scala.collection.immutable.Iterable<LinkValue>> valuesRenderer()
-
name
public static java.lang.String name()
-
lowercaseName
public static java.lang.String lowercaseName()
-
parseFromValueString
public static scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
-
values
public scala.collection.immutable.Seq<LinkValue> values()
-
renderValue
public <R extends Rendering> Rendering renderValue(R r)
- Specified by:
renderValuein interfaceModeledHeader
-
companion
protected Link$ companion()
- Specified by:
companionin interfaceModeledHeader
-
-