/** * Create a custom method type. */ public static HttpMethod custom(String value, boolean safe, boolean idempotent, akka.http.javadsl.model.RequestEntityAcceptance requestEntityAcceptance) { //This cast is safe as implementation of RequestEntityAcceptance only exists in Scala akka.http.scaladsl.model.RequestEntityAcceptance scalaRequestEntityAcceptance = (akka.http.scaladsl.model.RequestEntityAcceptance) requestEntityAcceptance; return akka.http.scaladsl.model.HttpMethod.custom(value, safe, idempotent, scalaRequestEntityAcceptance); }
/** * Create a custom method type. */ public static HttpMethod custom(String value, boolean safe, boolean idempotent, akka.http.javadsl.model.RequestEntityAcceptance requestEntityAcceptance) { //This cast is safe as implementation of RequestEntityAcceptance only exists in Scala akka.http.scaladsl.model.RequestEntityAcceptance scalaRequestEntityAcceptance = (akka.http.scaladsl.model.RequestEntityAcceptance) requestEntityAcceptance; return akka.http.scaladsl.model.HttpMethod.custom(value, safe, idempotent, scalaRequestEntityAcceptance); }
/** * Create a custom method type. */ public static HttpMethod custom(String value, boolean safe, boolean idempotent, akka.http.javadsl.model.RequestEntityAcceptance requestEntityAcceptance) { //This cast is safe as implementation of RequestEntityAcceptance only exists in Scala akka.http.scaladsl.model.RequestEntityAcceptance scalaRequestEntityAcceptance = (akka.http.scaladsl.model.RequestEntityAcceptance) requestEntityAcceptance; return akka.http.scaladsl.model.HttpMethod.custom(value, safe, idempotent, scalaRequestEntityAcceptance); }
/** * Create a custom method type. */ public static HttpMethod custom(String value, boolean safe, boolean idempotent, akka.http.scaladsl.model.RequestEntityAcceptance requestEntityAcceptance) { return akka.http.scaladsl.model.HttpMethod.custom(value, safe, idempotent, requestEntityAcceptance); }