public class NameReceptacle<T>
extends java.lang.Object
| Constructor and Description | 
|---|
| NameReceptacle(java.lang.String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| <B> NameReceptacle<B> | as()Extract the value as the specified type. | 
| <B> NameUnmarshallerReceptacle<B> | as(Unmarshaller<T,B> unmarshaller,
  Unmarshaller<java.lang.String,T> fsu)Extract the value as the specified type with the given  pekko.http.scaladsl.unmarshalling.Unmarshaller. | 
| java.lang.String | name() | 
| NameOptionReceptacle<T> | optional()Extract the optional value as  Option[String]. | 
| RepeatedValueReceptacle<T> | repeated()Extract multiple occurrences as  Iterable[String]. | 
| <B> RequiredValueReceptacle<B> | requiredValue(B requiredValue)Require the given value and extract nothing. | 
| <B> NameDefaultReceptacle<B> | withDefault(B default_)Extract the optional value as  String, if it is missing use the given default value. | 
public <B> NameReceptacle<B> as()
pekko.http.scaladsl.unmarshalling.Unmarshaller in scope for that to work.public <B> NameUnmarshallerReceptacle<B> as(Unmarshaller<T,B> unmarshaller, Unmarshaller<java.lang.String,T> fsu)
pekko.http.scaladsl.unmarshalling.Unmarshaller.unmarshaller - (undocumented)fsu - (undocumented)public java.lang.String name()
public NameOptionReceptacle<T> optional()
Option[String].public RepeatedValueReceptacle<T> repeated()
Iterable[String].public <B> RequiredValueReceptacle<B> requiredValue(B requiredValue)
requiredValue - (undocumented)public <B> NameDefaultReceptacle<B> withDefault(B default_)
String, if it is missing use the given default value.default_ - (undocumented)