Commit graph

383 commits

Author SHA1 Message Date
Johannes Rudolph
3588a98a4b +htc #16887 the Java side of the Websocket server-side API 2015-04-24 14:40:27 +02:00
Patrik Nordwall
1595a8a911 !str #17031 Rename StreamTcp to Tcp 2015-04-24 14:13:54 +02:00
Patrik Nordwall
07f299a1e0 !str #17031 Use host and port instead of InetSocketAddress
* as convenience in bind and outgoingConnection
2015-04-24 14:12:43 +02:00
Roland Kuhn
874bb12128 Merge pull request #17285 from akka/wip-17277-akka.japi.function-∂π
!str #17277 remove akka.stream.javadsl.japi.WithVariance
2015-04-24 11:50:10 +02:00
Roland Kuhn
995e659310 Merge pull request #17287 from spray/w/17129-provide-error
Improve error message if serverLayer is reused.
2015-04-24 11:44:11 +02:00
Martynas Mickevičius
8e2cc3e70f =str #17089 stream testkit 2015-04-24 12:25:54 +03:00
Roland Kuhn
354a8e3a41 !str #17277 remove akka.stream.javadsl.japi.WithVariance
sadly we forgot to also move the boilerplate-generated FunctionN and
ProcedureN into akka-actor, so they are still in
akka.stream.javadsl.japi.
2015-04-24 11:05:11 +02:00
Johannes Rudolph
70a147a581 =htc #16887 properly report truncated WS messages to user handler 2015-04-24 10:55:24 +02:00
Johannes Rudolph
5e459688d5 =htc #17129 improve error message that serverLayer cannot be reused 2015-04-24 10:53:54 +02:00
Johannes Rudolph
48b50b6a84 =htc #16887 remove duplication in TestServer 2015-04-24 10:53:54 +02:00
Johannes Rudolph
50f488f563 +htc resurrect low-level server-side Java API and JavaTestServer
Modelled after javadsl.StreamTcp.
2015-04-24 10:52:54 +02:00
Roland Kuhn
0ac7900e9e Merge pull request #17282 from spray/w/17278-change-to-javadsl-in-java-model
!htc #17278 replace remaining usages of scaladsl.Source in akka.http.model.japi
2015-04-24 10:20:14 +02:00
Mathias
6ce8e0f29d =htc #16507 log materialization errors in bindAndHandle 2015-04-23 22:40:01 +02:00
Johannes Rudolph
d9adc3c711 =htc #16887 speed up some websocket tests 2015-04-23 17:20:31 +02:00
Johannes Rudolph
b86ce44961 !htc #17278 replace remaining usages of scaladsl.Source in akka.http.model.japi 2015-04-23 17:15:05 +02:00
Mathias
21baac0c52 !htc #15681, #15906, #16852, #17064 add client-side connection pooling with retries
Also: simplify API style for settings passing
2015-04-23 15:31:52 +02:00
Mathias
4d3b0e4edc +htc, htp: small improvement to HttpMessage::withDefaultHeaders 2015-04-23 15:31:51 +02:00
Mathias
475c073997 =htc smaller improvements to util helpers 2015-04-23 15:31:48 +02:00
Mathias
53de0f3b74 +htc #17064 add Uri::toHttpRequestTargetOriginForm and double-slash path tests
Forward port of https://github.com/spray/spray/pull/1026.
2015-04-23 15:12:53 +02:00
Johannes Rudolph
6fef5d534c +htc #16887 add support for WS application-level subprotocol negotiation 2015-04-22 13:58:39 +02:00
Johannes Rudolph
23b9952149 =htc #16887 integrate websocket pipeline into http server 2015-04-22 13:57:32 +02:00
Johannes Rudolph
6dafa445de =htc #16887 implement high-level server-side Websocket API 2015-04-22 11:10:44 +02:00
Johannes Rudolph
880733eb3d =htc make headAndTail work if prefixAndTail returns an empty prefix 2015-04-22 11:10:44 +02:00
Johannes Rudolph
73722c425d =htc #16887 websocket framing implementation 2015-04-22 11:08:09 +02:00
Johannes Rudolph
23a5dadee0 =htc #16887 a Utf8 encoder and decoder 2015-04-22 11:08:09 +02:00
Johannes Rudolph
2402bedc6a +htc #16887 add server-side websocket API and add example to TestServer 2015-04-22 11:08:09 +02:00
Johannes Rudolph
d67b5823e6 =htc #17129 Preliminary fix until this is fixed with the new features from #16168 2015-04-22 11:08:09 +02:00
Johannes Rudolph
7b72fca3c2 +htc introduce big endian read methods to ByteReader 2015-04-21 15:23:37 +02:00
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