Package akka.http.scaladsl.model.headers
Class ModeledCompanion<T>
- java.lang.Object
-
- akka.http.scaladsl.model.headers.ModeledCompanion<T>
-
- All Implemented Interfaces:
Renderable
- Direct Known Subclasses:
Accept$
,Accept$minusCharset$
,Accept$minusEncoding$
,Accept$minusLanguage$
,Accept$minusRanges$
,Access$minusControl$minusAllow$minusCredentials$
,Access$minusControl$minusAllow$minusHeaders$
,Access$minusControl$minusAllow$minusMethods$
,Access$minusControl$minusExpose$minusHeaders$
,Access$minusControl$minusMax$minusAge$
,Access$minusControl$minusRequest$minusHeaders$
,Access$minusControl$minusRequest$minusMethod$
,Age$
,Allow$
,Authorization$
,Cache$minusControl$
,Connection$
,Content$minusDisposition$
,Content$minusEncoding$
,Content$minusLength$
,Content$minusLocation$
,Content$minusRange$
,Content$minusType$
,Cookie$
,Date$
,EmptyCompanion$
,ETag$
,Expect$
,Expires$
,Host$
,If$minusMatch$
,If$minusModified$minusSince$
,If$minusNone$minusMatch$
,If$minusRange$
,If$minusUnmodified$minusSince$
,Last$minusEvent$minusID$
,Last$minusModified$
,Link$
,Location$
,Origin$
,Proxy$minusAuthenticate$
,Proxy$minusAuthorization$
,Range$
,Raw$minusRequest$minusURI$
,Referer$
,Remote$minusAddress$
,Retry$minusAfter$
,Sec$minusWebSocket$minusAccept$
,Sec$minusWebSocket$minusExtensions$
,Sec$minusWebSocket$minusKey$
,Sec$minusWebSocket$minusProtocol$
,Sec$minusWebSocket$minusVersion$
,Server$
,Set$minusCookie$
,Strict$minusTransport$minusSecurity$
,TE$
,Timeout$minusAccess$
,Tls$minusSession$minusInfo$
,Transfer$minusEncoding$
,Upgrade$
,User$minusAgent$
,WWW$minusAuthenticate$
,X$minusForwarded$minusFor$
,X$minusForwarded$minusHost$
,X$minusForwarded$minusProto$
,X$minusReal$minusIp$
public abstract class ModeledCompanion<T> extends java.lang.Object implements Renderable
-
-
Constructor Summary
Constructors Constructor Description ModeledCompanion(scala.reflect.ClassTag<T> evidence$1)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
lowercaseName()
java.lang.String
name()
static <T> java.lang.String
nameFromClass(java.lang.Class<T> clazz)
scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T>
parseFromValueString(java.lang.String value)
Parses the given value into a header of this type.<R extends Rendering>
Renderingrender(R r)
-
-
-
Constructor Detail
-
ModeledCompanion
public ModeledCompanion(scala.reflect.ClassTag<T> evidence$1)
-
-
Method Detail
-
nameFromClass
public static <T> java.lang.String nameFromClass(java.lang.Class<T> clazz)
-
name
public java.lang.String name()
-
lowercaseName
public java.lang.String lowercaseName()
-
render
public final <R extends Rendering> Rendering render(R r)
- Specified by:
render
in interfaceRenderable
-
parseFromValueString
public scala.util.Either<scala.collection.immutable.List<ErrorInfo>,T> parseFromValueString(java.lang.String value)
Parses the given value into a header of this type. ReturnsRight[T]
if parsing was successful andLeft(errors)
otherwise.- Parameters:
value
- (undocumented)- Returns:
- (undocumented)
-
-