Commit graph

30 commits

Author SHA1 Message Date
Johannes Rudolph
10ea40b2f8 !htj move RequestVal classes to javadsl.server.values 2015-06-24 11:59:19 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Endre Sándor Varga
be82e85ffc +str #17361: Unified http java/scala projects except marshallers 2015-05-22 13:51:34 +02:00
Mathias
5859c39f8b =ht* #17279 rename akka-http-* modules where agreed 2015-04-24 18:44:24 +02: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
Mathias
ef208bfa8b =htp #16934 s/ActorFlowMaterializer/FlowMaterializer where possible, smaller cleanups 2015-03-02 13:52:09 +01:00
Mathias
7510ec80a4 !htp Refactor ExceptionHandler infrastructure for symmetry with RejectionHandler 2015-02-27 09:49:15 +01:00
Endre Sándor Varga
8d77fa8b29 !str #16902: Unify stream internal representation
also =str #16912: Fix StreamTcpSpec flakiness
2015-02-26 10:06:56 +01:00
Patrik Nordwall
cd9d503b03 !str #15851 Rename FlowMaterializer and settings
* FlowMaterializer is now the actor independent interface
* ActorFlowMaterializer is the actor based interface
* MaterializerSettings renamed to ActorFlowMaterializerSettings
* impl.ActorBasedFlowMaterializer renamed to impl.ActorFlowMaterializerImpl
* Optimizations included in ActorFlowMaterializerSettings
* Note that http is using FlowMaterializer in api, but I suspect that it
  will currently only run with a ActorFlowMaterializer
2015-01-27 19:22:22 +01:00
Mathias
968e9cc5a7 =htc refactor HttpClient stream setup, closes #16510 2014-12-18 17:14:55 +01:00
Mathias
80f125f481 !htp remove ScalaRoutingDSL 2014-12-01 16:18:36 +01:00
Mathias
931e8f9b18 !htk rename RouteTest::entity to RouteTest::responseEntity, smaller test cleanups
Also upgrade to latest (un)marshalling changes.
2014-11-24 10:34:43 +01:00
Mathias
d65fe4e04e !htp #16190 refactor and improve marshalling infrastructure, get rid of Marshallers abstraction altogether
Also improve Unmarshalling infrastructure once more.
2014-11-24 10:34:24 +01:00
Johannes Rudolph
3f0731b788 +htc a safer Future.awaitResult that doesn't throw away the call stack of the awaiter 2014-11-12 08:18:59 +01:00
Patrik Nordwall
65269274b1 !str #16235 Rename Sink.future to Sink.head 2014-11-07 08:07:17 +01:00
Johannes Rudolph
2941a55401 !htp #15656 split out scala-xml support into its own subproject 2014-11-04 15:54:10 +01:00
Björn Antonsson
f04ed7f8a9 Merge pull request #16157 from spray/w/RequestContext-withChangedSettings
http: make RoutingSettings a property of the RequestContext
2014-10-30 17:30:38 +01:00
Johannes Rudolph
1a8f4381d8 +htp provide RoutingSettings through RequestContext 2014-10-28 14:31:10 +01:00
Patrik Nordwall
7c0c618791 !str #16039 Remove old scaladsl, rename scaladsl2
* and impl2, testkit2
* keeping io2 for now
2014-10-28 14:20:19 +01:00
Björn Antonsson
0f61909ea7 !str #16102 Fold Tap/Drain into Source/Sink
* Fold Tap/Drain into Source/Sink
* Create Source/Sink helpers to create all Sources/Sinks
* Make concrete Source/Sink implementations private[scaladsl2]
2014-10-17 14:05:50 +02:00
Johannes Rudolph
4285f57bc3 !htp renaming: mapRouteResponse => mapRouteResult, mapHttpResponse => mapResponse 2014-10-14 12:23:13 +02:00
Johannes Rudolph
4d0e1ba231 !htp #16088 replace RouteResult.Failure by Future.failed + handle post-processing directly in Directives
This replaces the awkward post-processing previously done with RequestContext.finish and
prevents the loop-hole of Future.failed which previously allowed errors
to be missed by the current ExceptionHandler.
2014-10-14 12:23:13 +02:00
Johannes Rudolph
0e06406e19 !htp convert List[Rejection] => immutable.Seq[Rejection] everywhere 2014-10-13 18:03:46 +02:00
Endre Sándor Varga
ed27f86791 !htc #15726: Akka HTTP with the new DSL 2014-10-10 13:51:36 +02:00
Mathias
ad26a32e83 !htp,htk Upgrade from Deferrable to new FastFuture, closes #15962 2014-09-25 14:56:34 +02:00
Johannes Rudolph
c77f4e28f6 !hco #15915 introduce more shades of HttpEntities
The introduction of BodyParts again showed that not all entity types are
useful for every kind of context. There are now these contexts where
HttpEntities are used:
 - requests
 - responses
 - body parts

And several kinds of entities:
 - Strict
 - Default
 - Chunked
 - CloseDelimited
 - IndefiniteLength

To increase type safety of the API marker-interfaces are introduced defining
which kinds of entities can be used in which contexts:
 - RequestEntity: Strict, Default, Chunked
 - ResponseEntity: Strict, Default, Chunked, CloseDelimited
 - BodyPartEntity: Strict, Default, IndefiniteLength

Also, to be able still to provide abstractions over some kinds of entities
additional auxiliary interfaces were necessary:
 - MessageEntity = RequestEntity >: ResponseEntity: Strict, Default, Chunked (type alias for RequestEntity)
 - UniversalEntity = RequestEntity with ResponseEntity with BodyPartEntity = Strict, Default
2014-09-22 12:03:33 +02:00
Mathias
27a7cb0664 !htk move RequestBuilding trait from akka.http.testkit into akka.http.clien package, closes #15801 2014-09-17 16:49:34 +02:00
Mathias
47affda004 !htp rename akka.http.routing package to akka.http.server 2014-09-17 16:42:31 +02:00
Björn Antonsson
a902d079b0 +pro #15406 Split up stream into testkit, tests and tck 2014-09-16 10:16:38 +02:00
Mathias
af8591b5e9 +htk Add akka-http-testkit as a port of spray-testkit
Currently the Specs2 support is still missing.
2014-09-11 17:14:19 +02:00