File tree Expand file tree Collapse file tree
java/org/apache/pekko/http/cors/javadsl/model
scala/org/apache/pekko/http/cors/scaladsl/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424public abstract class HttpHeaderRange {
2525 public abstract boolean matches (String header );
2626
27+ /**
28+ * Produces a new range that matches the headers of this range and the given range.
29+ *
30+ * @since 2.0.0
31+ */
2732 public abstract HttpHeaderRange concat (HttpHeaderRange range );
2833
2934 public static HttpHeaderRange create (String ... headers ) {
Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ import pekko.util.Helpers
2828sealed abstract class HttpHeaderRange extends javadsl.model.HttpHeaderRange {
2929 override def concat (range : javadsl.model.HttpHeaderRange ): HttpHeaderRange
3030
31+ /**
32+ * Operator alias for [[concat ]].
33+ *
34+ * @since 2.0.0
35+ */
3136 def ++ (range : javadsl.model.HttpHeaderRange ): HttpHeaderRange = concat(range)
3237}
3338
You can’t perform that action at this time.
0 commit comments