Commit graph

217 commits

Author SHA1 Message Date
Endre Sándor Varga
ed27f86791 !htc #15726: Akka HTTP with the new DSL 2014-10-10 13:51:36 +02:00
Björn Antonsson
a47fee4fda Merge pull request #15982 from bthuillier/release-2.3-dev
+htp #15932 Import SchemeDirectives from spray
2014-10-09 22:41:45 +02:00
Benjamin Thuillier
0966bf6233 +htp #15932 integrate SchemeDirectives from spray codebase 2014-10-09 17:11:33 +02:00
Björn Antonsson
7cc9e9902f Merge pull request #15985 from bthuillier/feature/directives-migration
Spray Directives Migration
2014-10-09 13:46:50 +02:00
Mathias
950a81be8e =htp add one more test 2014-10-08 13:42:01 +02:00
Benjamin Thuillier
b98f21cb80 +htp #15928 Import MiscDirectives from spray 2014-10-07 14:08:31 +02:00
Benjamin Thuillier
6ad7622621 +htp #15925 Import HeaderDirectives from spray 2014-10-07 14:05:12 +02:00
Mathias
46d51e531f =htp reduce set of not-encoded characters in FormData marshalling
Port of https://github.com/spray/spray/pull/918
2014-10-07 12:02:13 +02:00
Mathias
27c5167e73 =htp small simplification in tests 2014-10-06 10:42:01 +02:00
Mathias
f7d7a289f3 =htp fix UnsupportedOperationException in PathMatchers.valueMap2PathMatcher 2014-10-06 10:41:54 +02:00
Johannes Rudolph
fb98d1aa69 +htp #15910 import + improve coding infrastructure from spray 2014-10-02 15:22:06 +02:00
Benjamin Thuillier
a2bcc0fb06 +htp #15926 Import HostDirectives from spray 2014-09-26 11:39:03 +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
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
8dbb311ddc =htp Add akka-http-tests project, tests for already-ported directives
Also move the tests that were previously in the akka-http project here
2014-09-11 17:15:50 +02:00