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
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
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
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
6352fbae81
!htc #16988 hide model.parser.HeaderParser from public API, add proper HeaderParser.parse
2015-03-05 11:36:30 +01:00
Mathias
ef208bfa8b
=htp #16934 s/ActorFlowMaterializer/FlowMaterializer where possible, smaller cleanups
2015-03-02 13:52:09 +01:00
Mathias
ef34319987
=htc,htp Small fix in scaladoc, add FIXME reminder
2015-03-02 13:52:06 +01:00
Roland Kuhn
70c6c1a246
Merge pull request #16949 from spray/wip-16835-mathias
...
Refactor akka.http.server.RejectionHandler
2015-02-27 14:11:52 +01:00
Roland Kuhn
fbe80f2b1f
Merge pull request #16919 from spray/wip-16814-mathias
...
=htp #16814 Fix ClassCastException in `PathMatchers.NumberMatcher`
2015-02-27 14:10:33 +01:00
Mathias
63c622d6c7
!htp #16833 Add minimum number of iterations to PathMatcher::repeat modifier
...
Note: this breaks existing code using `Segments(n)` or `xxx.repeat(n)` because the semantics of these
calls change with this commit.
2015-02-27 09:57:44 +01:00
Mathias
7510ec80a4
!htp Refactor ExceptionHandler infrastructure for symmetry with RejectionHandler
2015-02-27 09:49:15 +01:00
Mathias
9c3124f344
!htp #16835 Refactor RejectionHandler infrastructure for cleanliness and independence from rejection ordering
2015-02-27 09:49:10 +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
Mathias
f869d6ccbc
=htp #16814 Fix ClassCastException in PathMatchers.NumberMatcher
...
Direct port of 43bb625bbd
2015-02-23 12:47:27 +01:00
2beaucoup
ada5922440
!htp #16593 negotiate content encoding
2015-02-18 09:28:15 +01:00
2beaucoup
76cf157912
+htp improve naming consistency + cleanup
2015-02-17 17:10:36 +01:00
Konrad Malawski
39038597b2
!str #16563 terminal operations start with run*; runFold runForeach
2015-01-26 15:39:36 +01:00
Johannes Rudolph
fd8e0225eb
+htp #16516 allow setting maximum ByteString chunk size for decoding operations
2014-12-22 10:16:58 +01:00
Johannes Rudolph
29d7a041f6
+htp #16516 rewrite Deflate/GzipDecompressor as StatefulStage to defuse zip bomb
...
Also, the tests have been DRY'd up.
2014-12-22 10:08:03 +01:00
André Rüdiger
49e6c0c066
tidy up once more
2014-12-21 01:11:45 +01:00
2beaucoup
ec7156698a
!htc #16494 provide content negotiation fallback to exception handlers
2014-12-20 18:12:28 +01:00
2beaucoup
a1d7c33663
=htc simplify content negotiation
2014-12-20 18:08:38 +01:00
2beaucoup
d5d8c21091
=htc optimize copy shortcuts
2014-12-20 18:08:38 +01:00
Jisoo Park
e785c374b3
+htp #16543 add directives to add or remove trailing slash
2014-12-20 17:38:28 +01:00
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