public static CacheControl create(CacheDirective... directives) { return new akka.http.scaladsl.model.headers.Cache$minusControl(akka.http.impl.util.Util.<CacheDirective, akka.http.scaladsl.model.headers.CacheDirective>convertArray(directives)); } }
public static AcceptRanges create(RangeUnit... rangeUnits) { return new akka.http.scaladsl.model.headers.Accept$minusRanges(akka.http.impl.util.Util.<RangeUnit, akka.http.scaladsl.model.headers.RangeUnit>convertArray(rangeUnits)); } }
public static ProxyAuthenticate create(HttpChallenge... challenges) { return new akka.http.scaladsl.model.headers.Proxy$minusAuthenticate(akka.http.impl.util.Util.<HttpChallenge, akka.http.scaladsl.model.headers.HttpChallenge>convertArray(challenges)); } }
public static AcceptCharset create(HttpCharsetRange... charsetRanges) { return new akka.http.scaladsl.model.headers.Accept$minusCharset(Util.<HttpCharsetRange, akka.http.scaladsl.model.HttpCharsetRange>convertArray(charsetRanges)); } }
/** * Create and return a custom charset. */ public static HttpCharset custom(String value, String... aliases) { return akka.http.scaladsl.model.HttpCharset.custom(value, Util.<String, String>convertArray(aliases)); }
/** * Create and return a custom charset. */ public static HttpCharset custom(String value, String... aliases) { return akka.http.scaladsl.model.HttpCharset.custom(value, Util.<String, String>convertArray(aliases)); }
/** * Constructor for `multipart/form-data` content as defined in http://tools.ietf.org/html/rfc2388. * All parts must have distinct names. (This is not verified!) */ public static Multipart.FormData createFormDataFromParts(Multipart.FormData.BodyPart... parts) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.createNonStrict(convertArray(parts)); } /**
/** * Constructor for `multipart/form-data` content as defined in http://tools.ietf.org/html/rfc2388. * All parts must have distinct names. (This is not verified!) */ public static Multipart.FormData.Strict createStrictFormDataFromParts(Multipart.FormData.BodyPart.Strict... parts) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.createStrict(convertArray(parts)); }
/** * Constructor for `multipart/form-data` content as defined in http://tools.ietf.org/html/rfc2388. * All parts must have distinct names. (This is not verified!) */ public static Multipart.FormData.Strict createStrictFormDataFromParts(Multipart.FormData.BodyPart.Strict... parts) { return akka.http.scaladsl.model.Multipart.FormData$.MODULE$.createStrict(convertArray(parts)); }
/** * Create and return a custom charset. */ public static HttpCharset custom(String value, String... aliases) { return akka.http.scaladsl.model.HttpCharset.custom(value, Util.<String, String>convertArray(aliases)); }
/** * Create and return a custom charset. */ public static HttpCharset custom(String value, String... aliases) { return akka.http.scaladsl.model.HttpCharset.custom(value, Util.<String, String>convertArray(aliases)); }
public static EntityTagRange create(EntityTag... tags) { return akka.http.scaladsl.model.headers.EntityTagRange.apply(Util.<EntityTag, akka.http.scaladsl.model.headers.EntityTag>convertArray(tags)); } }
public static AcceptEncoding create(HttpEncoding encoding) { return new akka.http.scaladsl.model.headers.Accept$minusEncoding(Util.<HttpEncodingRange, akka.http.scaladsl.model.headers.HttpEncodingRange>convertArray(new HttpEncodingRange[]{encoding.toRange()})); } public static AcceptEncoding create(HttpEncodingRange... encodings) {
public static Origin create(HttpOrigin... origins) { return new akka.http.scaladsl.model.headers.Origin(akka.http.impl.util.Util.<HttpOrigin, akka.http.scaladsl.model.headers.HttpOrigin>convertArray(origins)); } }
public static Connection create(String... directives) { return new akka.http.scaladsl.model.headers.Connection(akka.http.impl.util.Util.convertArray(directives)); } }
public static HttpOriginRange create(HttpOrigin... origins) { return HttpOriginRange$.MODULE$.apply(Util.<HttpOrigin, akka.http.scaladsl.model.headers.HttpOrigin>convertArray(origins)); } }
public static AcceptEncoding create(HttpEncoding encoding) { return new akka.http.scaladsl.model.headers.Accept$minusEncoding(Util.<HttpEncodingRange, akka.http.scaladsl.model.headers.HttpEncodingRange>convertArray(new HttpEncodingRange[]{encoding.toRange()})); } public static AcceptEncoding create(HttpEncodingRange... encodings) {
public static LinkValue create(Uri uri, LinkParam... params) { return new akka.http.scaladsl.model.headers.LinkValue( uri.asScala(), Util.<LinkParam, akka.http.scaladsl.model.headers.LinkParam>convertArray(params)); } }
public static LinkValue create(Uri uri, LinkParam... params) { return new akka.http.scaladsl.model.headers.LinkValue( uri.asScala(), Util.<LinkParam, akka.http.scaladsl.model.headers.LinkParam>convertArray(params)); } }
public static LinkValue create(Uri uri, LinkParam... params) { return new akka.http.scaladsl.model.headers.LinkValue( Util.convertUriToScala(uri), Util.<LinkParam, akka.http.scaladsl.model.headers.LinkParam>convertArray(params)); } }