Commit graph

201 commits

Author SHA1 Message Date
Mathias
44a684c390 !htc clean up and unify HTTP exception model 2014-12-18 17:12:17 +01:00
Martynas Mickevicius
64feb041be =str #15152 operation transformations 2014-12-01 20:07:55 +02:00
Johannes Rudolph
1389c59196 +htp add ToNameReceptacleEnhancements companion object 2014-12-01 16:19:32 +01:00
Johannes Rudolph
c3d741c07d +htp smaller improvements in FileAndResourceDirectives
- in getFromResourceDirectory allow specification of classLoader
 - quick constructor for ContentTypeResolver
 - allow overriding of `defaultClassLoader` choice
2014-12-01 16:19:32 +01:00
Johannes Rudolph
2a37831937 +htp add shortcuts for quick encoding / decoding 2014-12-01 16:19:32 +01:00
Mathias
80f125f481 !htp remove ScalaRoutingDSL 2014-12-01 16:18:36 +01:00
Mathias
8f8bded0a3 !htp upgrade (and simplify) main API entrypoints 2014-11-28 17:24:33 +01:00
Björn Antonsson
672d4ed091 +str,htc #16071, #16072 New Stream Tcp and Http API
* StreamTcp and Http extensions now return Flows and Sources that can be materialized later
* Flow can now be completed with another flow to be turned into a runnable flow
2014-11-28 10:41:57 +01:00
Mathias
dbf76cb096 !htp #15923 port FormFieldDirectives from spray 2014-11-24 10:35:07 +01:00
Mathias
193dda6e01 !htp #15927 port MarshallingDirectives from spray 2014-11-24 10:35:07 +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
Patrik Nordwall
a82f266367 !str #15236 Replace Transformer with Stage
* replace all existing Transformer with Stage (PushPullStage)
* use Flow[ByteString, ByteString] as encoder/decoder transformer in http
* use the IteratorInterpreter for strict if possible
* emit then become
* emit then finish
* termination emits
* FlowTransformerSpec
* rework types to work with Java API
* rename and move things
* add scaladoc
2014-11-21 11:41:34 +01:00
Johannes Rudolph
9ad814209a =htp #16289 in handleException also catch strict exceptions during route building or execution 2014-11-18 12:12:58 +01:00
Johannes Rudolph
188cbabefe +htp #15922 import FileAndResourceDirectives from spray 2014-11-12 08:19:00 +01:00
Johannes Rudolph
840feb42ea =htp #16238 fix RangeDirectives not to assume reusable entity data stream 2014-11-12 08:18:59 +01:00
Johannes Rudolph
6e98623679 +htp resurrect RequestContext.flowMaterializer 2014-11-12 08:18:59 +01:00
Björn Antonsson
b0a5afb623 Merge pull request #16205 from spray/w/15656-fine-grained-dependencies
http: #15656 #15917 split out and provide glue layers for scala xml and spray-json support
2014-11-05 11:22:44 +01:00
Björn Antonsson
04385f4d91 Merge pull request #16195 from spray/w/15930-RangeDirectives
+htp #15930 import RangeDirectives from spray
2014-11-05 10:54:33 +01:00
Johannes Rudolph
2941a55401 !htp #15656 split out scala-xml support into its own subproject 2014-11-04 15:54:10 +01:00
Johannes Rudolph
a2bce26fd7 +htp #15930 import RangeDirectives from spray 2014-11-04 15:24:52 +01:00
Björn Antonsson
c6ab4c74ba Merge pull request #16179 from spray/w/15933-import-security-directives
+htp #15933 import SecurityDirectives (+ infrastructure) from spray
2014-11-04 10:50:53 +01:00
Johannes Rudolph
dad5e568cd +htp #15933 import + improve SecurityDirectives (+ infrastructure) from spray 2014-11-03 16:27:38 +01:00
Björn Antonsson
96ba0d07e5 Merge pull request #16158 from spray/w/15920-DebuggingDirectives
+htp #15920 import DebuggingDirectives from spray
2014-11-03 16:07:12 +01:00
Mathias
4682f5ddb2 !htp #15674 upgrade to new Multipart model 2014-11-03 10:13:26 +01:00
Johannes Rudolph
4b05824730 +htp #15920 import DebuggingDirectives from spray 2014-10-31 11:46:18 +01:00
Martynas Mickevičius
f91acb1534 Merge pull request #16177 from 2m/wip-16066-via-and-to
!str #16066 rename connect to via/to
2014-10-31 12:04:45 +02:00
Martynas Mickevičius
412003c11e !str #16066 rename connect to via/to
* add missing implicit conversions for ~>
* tests for all combinations when using ~>
2014-10-31 10:43:42 +02: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
85ca3e6853 !htp consistently prefix simple extraction directives with extract 2014-10-28 14:33:26 +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
789b7c843d Merge pull request #16108 from spray/w/port-more-directives
Fixes for 15931, 15918, 15919
2014-10-21 17:28:36 +02:00
Johannes Rudolph
689e7eb56a +htp add RequestContext/BasicDirectives.withLog/extractLog 2014-10-21 15:56:31 +02:00
Johannes Rudolph
cfcb88cf91 !htp rename conflicting withExecutionContext directive to extractExecutionContext 2014-10-21 15:56:31 +02:00
Johannes Rudolph
8116d2b9bb +htp #15919 import CookieDirectives 2014-10-21 15:56:31 +02:00
Johannes Rudolph
37da572d2d +htp #15918 import CacheConditions from spray 2014-10-21 15:56:30 +02:00
Benjamin Thuillier
c6f8eb95a1 +htp #15931 Import RespondWithDirectives from spray 2014-10-21 15:56:30 +02:00
Mathias
0033e74cae !htp #16101 improve basic directive infrastructure, add more scaladoc, fix smaller problems 2014-10-21 14:12:01 +02:00
Mathias
9211b71c99 +htp #15929 port ParameterDirectives from spray 2014-10-21 14:12:01 +02:00
Mathias
33ddabbc9f =htp refactor tuple join to foldLeft-based implementation, unify tuple operations 2014-10-21 14:12:01 +02:00
Mathias
93c6a90e4e !htp #15935 clean up and extend unmarshalling infrastructure 2014-10-21 14:12:01 +02:00
Mathias
284a0fe61d =htp small improvement to Marshaller 2014-10-21 14:12:01 +02:00
Mathias
129958d039 =htp add support infrastructure for folding over tuples with a binary poly-function 2014-10-21 14:12:00 +02:00
Björn Antonsson
bca586a7dd Merge pull request #16091 from spray/w/15924-future-directives
+htp #15924 import FutureDirectives from spray
2014-10-21 13:42:49 +02:00
Johannes Rudolph
5870c4ab90 +htp #15924 import FutureDirectives from spray 2014-10-21 11:12:10 +02:00
Konrad Malawski
7053295de9 Merge pull request #16100 from spray/wip-16099-mathias
=htc,htp #16099 remove all special treatment for ISO-8859-1, switch to U...
2014-10-17 15:38:30 +02: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
Mathias
ea7f3ff9fc =htc,htp #16099 remove all special treatment for ISO-8859-1, switch to UTF-8 as default charset everywhere 2014-10-16 14:14:23 +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