Commit graph

705 commits

Author SHA1 Message Date
Johannes Rudolph
4e3c1db4bb +htc #16887 add Upgrade header parsing/rendering 2015-04-21 15:23:37 +02:00
Johannes Rudolph
2cf1c41eef +htc #16887 implement Websocket header parsing/rendering 2015-04-21 15:09:50 +02:00
Roland Kuhn
050c0549f3 Merge pull request #17218 from spray/wip-16795-mathias
=htc #16795 add missing test
2015-04-21 10:27:38 +02:00
Mathias
24fb36a48d =htc #16795 add missing test 2015-04-20 21:49:09 +02:00
Mathias
92e992e6fc =htc #17227 always render HttpChallenge realm in double-quotes 2015-04-20 16:30:42 +02:00
Patrik Nordwall
c6404d3e44 !str #17189 Add withAttributes and named to Graph
* Remove optional attributes parameter in favor of withAttributes
* Overload explosion when trying to add attributes to ZipWith.
* Aligned with Flow and Source.
2015-04-17 11:31:32 +02:00
Patrik Nordwall
00033313e0 !str #16951 Unify scaladsl and javadsl OperationAttributes
* Move actor specific attributes to ActorOperationAttributes
2015-04-16 14:16:01 +02:00
Roland Kuhn
4388782af4 Merge pull request #17121 from spray/wip-17051-mathias
=htp #17051 fix BodyPartParser not handling streaming entities correctly
2015-04-16 12:55:06 +02:00
Patrik Nordwall
b69988c190 !str #16937 Remove section, in favor of via and separate flow 2015-04-10 17:34:29 +02:00
Mathias
a4c279c9c5 !htc #17039, #16933 change default materialization placeholder type from Unit to Any 2015-04-10 15:10:42 +02:00
Mathias
52117b9020 =htc upgrade HTTP layer API to new BidiFlow design 2015-04-10 15:10:41 +02:00
Mathias
6d8e0aacca !htc Some cleanup in internal and external naming, improvements to scaladoc 2015-04-10 15:10:41 +02:00
Mathias
4203d8d32e =htp #17051 fix BodyPartParser not handling streaming entities correctly 2015-04-10 14:00:30 +02:00
Patrik Nordwall
f4ed62b84c !str #16520 Add ActorRefSource
* and rename the factory for ActorPublisherSource,
  from Source.apply to Source.actorPublisher

* including internal buffer, with OverflowStrategy

* support to complete/fail stream
2015-04-10 13:53:15 +02:00
Roland Kuhn
8f47b6dfcc Merge pull request #17105 from akka/wip-async-stage-∂π
add async stage
2015-04-10 10:52:01 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Patrik Nordwall
666bfade1e !str #16993 Separate scaladsl/javadsl for FlattenStategy
`abstract class FlattenStrategy` was used in both javadsl and scaladsl, but the concrete concat
for the javadsl was in javadsl.FlattenStrategy and the concrete concat for the scaladsl is in
stream.FlattenStrategy.

Now there are separate FlattenStategy in scaladsl and javadsl packages and conversion
as we have in other places.

* replace JavaConverters with explicit methods

* remove asJava/asScala for FlattenStrategy
2015-04-10 08:05:24 +02:00
Roland Kuhn
4a16067cd8 Merge pull request #17094 from spray/wip-16823-mathias
=htc #16823 make `Access-Control-Allow-Origin` with multiple origins harder to access
2015-04-09 18:13:54 +02:00
Roland Kuhn
b7142b54b1 Merge pull request #17100 from spray/wip-16806-mathias
=htc #16806 add test demonstrating custom CT and CL in response to...
2015-04-09 17:00:44 +02:00
Roland Kuhn
ad4396a561 Merge pull request #17103 from spray/wip-16803-mathias
!htc #16803 introduce proper model for type of media-type encoding specs
2015-04-09 16:58:19 +02:00
Roland Kuhn
6b9ca731cc Merge pull request #17112 from spray/wip-17110-mathias
=htc #17110 disallow zero body parts in MIME content
2015-04-09 16:27:18 +02:00
Konrad Malawski
6739773990 Merge pull request #17099 from spray/wip-16807-mathias
=htc #16807 introduce `akka.http.parsing.error-logging-verbosity` setting
2015-04-08 16:38:15 +02:00
Mathias
14399f71f5 =htc #16807 introduce akka.http.parsing.error-logging-verbosity setting 2015-04-08 16:05:46 +02:00
Mathias
5074aebfeb !htc #16803 introduce proper model for type of media-type encoding specs 2015-04-08 16:02:54 +02:00
drewhk
6cc6363734 Merge pull request #17101 from spray/wip-16804-mathias
=htc #16804 make `akka.http.model.RangeUnit.Bytes` a `case object`
2015-04-07 13:30:42 +02:00
Mathias
f0c9e8a321 =htc #17110 disallow zero body parts in MIME content 2015-04-01 12:26:40 +02:00
Konrad Malawski
a47d71d41c Merge pull request #17096 from spray/wip-16809-mathias
=htc #16809 add testing proving absence of issue spray/spray#1006
2015-03-31 17:38:56 +02:00
Mathias
c73864657a =htc #16805 add tests covering chunked/close-delimited response to HEAD request 2015-03-31 10:44:12 +02:00
Mathias
3305e0a7d7 =htc #16804 make akka.http.model.RangeUnit.Bytes a case object 2015-03-30 16:18:27 +02:00
Mathias
87d2a7fa36 =htc #16806 add test demonstrating custom CT and CL in response to non-transparent HEAD request 2015-03-30 15:58:39 +02:00
Mathias
eb10679ed6 =htc #16809 add testing proving absence of issue spray/spray#1006 2015-03-30 13:30:59 +02:00
Mathias
c3b16a1498 =htc #16823 make Access-Control-Allow-Origin with multiple origins harder to access 2015-03-30 12:07:11 +02:00
Mathias
6d15adcc26 =htc #17066 port new test from spray 2015-03-30 11:01:35 +02:00
Patrik Nordwall
add5f39d18 Merge pull request #17047 from spray/wip-16816-mathias
+htp #16816 Add variants of `conditional` directive taking only ETag or only Last-Modified value.
2015-03-27 11:30:21 +01:00
Konrad Malawski
a382071ed7 Merge pull request #17042 from ktoso/wip-16972-bindandhandle-renames
!htc #16972 harmonize naming - bindAndHandle...
2015-03-25 15:53:24 +01:00
Patrik Nordwall
c83986e74d Merge pull request #17052 from wjur/fix/empty_authority
=htc #16954 Fix handling of empty authority in Uris
2015-03-25 14:56:05 +01:00
Roland Kuhn
354b52f62f Merge pull request #16995 from akka/wip-bidi-dsl-∂π
!str #16416,#16994 BidiFlow DSL and Flow.join Mat
2015-03-24 11:37:44 +01:00
Roland Kuhn
4a7814af91 Merge pull request #17001 from spray/wip-16988-mathias
!htc #16988 hide model.parser.HeaderParser from public API, add proper `HeaderParser.parse`
2015-03-24 11:13:31 +01:00
Roland Kuhn
157629f8af !str #16416,#16994 BidiFlow DSL and Flow.join Mat
- add BidiFlow, with atop and join combinators
- add Flow.join(BidiFlow)
- correct Flow.join’s default materialized value selection to Keep.left
2015-03-24 11:10:14 +01:00
Wojciech Jurczyk
f468d7c426 =htc #16954 Fix handling of empty authority in Uris 2015-03-18 21:07:34 +01:00
Mathias
85edf72d70 +htp #16816 Add variants of conditional directive taking only ETag or only Last-Modified value 2015-03-17 14:45:02 +01:00
Björn Antonsson
1b52ae333f Merge pull request #17020 from spray/wip-close-tests
=htc Enable rendering of HTTP/1.0 responses, increase test coverage for connection closing logic
2015-03-14 16:25:05 -07:00
Konrad Malawski
4a98f8335f !htc #16972 harmonize naming - bindAndHandle... 2015-03-14 11:41:45 -07:00
Konrad Malawski
ac6723cba7 +htc #16972 makes bindAndStartHandlingWith actually run() 2015-03-14 09:55:10 -07:00
Mathias
078017bd42 =htc #16953 Fix handling of empty hosts in Uris 2015-03-06 16:05:20 +01:00
Mathias
6cf64735fd =htc Enable rendering of HTTP/1.0 responses, increase test coverage for connection closing logic 2015-03-06 14:19:05 +01:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Patrik Nordwall
23c533fdd5 =str #16751 Update to reactive-streams 1.0-RC3
Changed rules:
* 1.9 Always onSubscribe prior to any other signals
* 1.9 NullPointerException if subscriber is null
* 3.17 Long overflow, effectively unbounded instead of onError

Fixed some more things:
* fixed some FIXME
* Long drop and take
* memory leaks in tck tests, use BeforeClass to create ActorSystem
  use AfterClass to shutdown ActorSystem
* more tck tests
* don't emit OnComplete when substream is cancelled
* work around for memory leak in PrefixAndTail
2015-03-05 17:58:24 +01:00
Mathias
6352fbae81 !htc #16988 hide model.parser.HeaderParser from public API, add proper HeaderParser.parse 2015-03-05 11:36:30 +01:00
Mathias
533583a68d =htc add missing private markers to internal parser sub-traits 2015-03-05 11:36:30 +01:00