Commit graph

864 commits

Author SHA1 Message Date
Patrik Nordwall
5bf2ab43bd !str #16557 Rename Source.singleton to Source.single 2014-12-16 17:02:27 +01:00
Roland Kuhn
b42124cbe4 Merge pull request #16489 from spray/w/16488-fix-http-tests
=htc #16488 add missing assertions in tests
2014-12-16 15:55:53 +01:00
Johannes Rudolph
75f262d047 =htc #16488 add missing assertions in tests
- replaced pure `===` by `shouldEqual`
 - fixed the backport of spray/spray#927 in ae8c47acc170907ee9c8dfbcb946b400035f6877
 - fixed HttpHeaderParserSpec
2014-12-16 10:39:10 +01:00
Konrad Malawski
73e2891502 Merge pull request #16485 from 2beaucoup/header-order-fix
=htc #16482 preserve header order during parse
2014-12-11 15:01:25 +01:00
2beaucoup
57aeb4aa54 =htc small cleanup 2014-12-11 14:43:08 +01:00
Johannes Rudolph
88a79556cb =htc #16500 parse Sunday dates and dates with long weekday names correctly
Also, make sure not to parse well-known parameters into the extension block.

Thanks, @richdougherty for the first version of this patch and the additional
test cases.
2014-12-11 08:43:41 +01:00
André Rüdiger
1eee973fc2 =htc #16501 render custom Date header 2014-12-11 00:41:00 +01:00
2beaucoup
f0c83631e1 =htc #16482 preserve header order during parse 2014-12-09 11:09:26 +01:00
2beaucoup
0b3120d690 !htc replace Parameter interface with ju.Map.Entry in japi.Uri 2014-12-08 14:39:28 +01:00
2beaucoup
a9dc7e0449 !htc use japi.Option 2014-12-08 14:34:33 +01:00
2beaucoup
8049558713 =htc use forall 2014-12-08 14:33:56 +01:00
Björn Antonsson
3e14cd05a9 =str #16380 Cleaned up Source/Sink/Key overlap 2014-12-02 16:38:14 +01:00
Martynas Mickevicius
64feb041be =str #15152 operation transformations 2014-12-01 20:07:55 +02:00
Roland Kuhn
92432cc8b3 Merge pull request #16308 from spray/w/15911-java-routing-dsl
Http: First step of Java Routing API
2014-12-01 17:58:50 +01:00
Roland Kuhn
998f261f51 Merge pull request #16414 from spray/wip-16162-mathias
!htp #16162 Upgrade server- and client-side HTTP APIs to "final style"
2014-12-01 17:57:27 +01:00
Johannes Rudolph
78d34538e8 !htc remove unused ExecutionContext implicit on HttpEntity.toStrict 2014-12-01 16:19:32 +01:00
Johannes Rudolph
0b1dd68eaf +htc add missing HttpEncodings constants and related helpers 2014-12-01 16:19:32 +01:00
Johannes Rudolph
532abc340e !htc small fixes to the japi.Authorization/HttpCredentials model 2014-12-01 16:19:32 +01:00
Johannes Rudolph
80d8c9ad05 +htc add japi.MediaType.toContentType helper 2014-12-01 16:19:32 +01:00
Johannes Rudolph
0859c5cadc +htc add starting points for requests with a certain HTTP method 2014-12-01 16:19:32 +01:00
Mathias
ddb007c52f +htc add startHandlingWith* helper methods to Http.ServerBinding and Http.IncomingConnection 2014-12-01 14:52:58 +01:00
Mathias
20f8db99fa !htc #16162 upgrade HTTP-level APIs to end-user style 2014-11-28 17:24:29 +01:00
Roland Kuhn
1091aee6a8 =all some more fixes to make it build in Eclipse 2014-11-28 13:06:06 +01:00
Roland Kuhn
6aed4332e1 Merge pull request #16417 from akka/wip-fix-eclipse-build
+htc fix Java build for Eclipse
2014-11-28 12:32:54 +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
Roland Kuhn
b7c4325fd1 +htc fix Java build for Eclipse 2014-11-27 21:15:34 +01:00
Björn Antonsson
5e04d11d66 Merge pull request #16337 from spray/wip-15799-mathias
Add server-side support for `Expect: 100-continue`, other improvements
2014-11-27 10:56:10 +01:00
Mathias
142929165c =htc prevent response entity rendering for status codes not allowing response entities 2014-11-27 10:31:54 +01:00
Mathias
b5a66eb458 =htc #15799 add server-side 100-continue support, fix request- and entity-stream error propagation 2014-11-27 10:31:50 +01:00
Mathias
5112d49c13 +htc minor additions to header model 2014-11-27 10:12:21 +01:00
Mathias
37a476ab46 =htc small simplification in message parsers 2014-11-27 10:12:19 +01:00
Mathias
2d9a49d010 =htc replace merge + zip in server pipeline with new FlexiMerge 2014-11-27 10:11:09 +01:00
Mathias
eaa9f52891 =htc fix broken per-connection header cache 2014-11-27 10:11:09 +01:00
Konrad 'ktoso' Malawski
c2242ce84e -str #16393 removes timerTransform from public API 2014-11-26 12:28:43 +01:00
Johannes Rudolph
dd27fdd485 =htc #16388 fix StackOverflowException during chunk parsing 2014-11-25 15:53:29 +01:00
Mathias
dbf76cb096 !htp #15923 port FormFieldDirectives from spray 2014-11-24 10:35:07 +01:00
Mathias
5b126b6d8b +htc apply smaller extensions and simplifications 2014-11-24 10:28:18 +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
Viktor Klang
14afce31ef +str - Renames SynchronousPublisherFromIterable to SynchronousIterablePublisher
Introduces an Actor-based IterablePublisher
       Gives names to most of the publishers
2014-11-18 19:48:26 +01:00
Viktor Klang
db4e5c4a29 =str - Various Flow and FlowMaterializer improvements
- Switches from using size-of-1/2 Vectors to using Lists
  - Fixes an issue where processorForNode wouldn't use the dispatcher form the settings
  - Adds a dedicated Collect fusion op
  - Adds various simplifications to ActorBasedFlowMaterializer
  - Adds FIXMEs where appropriate
  - Switches `grouped` to use a VectorBuilder
  - Adds support for `scan`
  - ActorBasedFlowMaterializer now uses Iterator instead of head+tail decomp on Seqs
  - Identity and Completed Transformers are now cached
  - Adds dedicated AstNodes for all combinators
  - Adds a hook-in point for fusion in `ActorBasedFlowMaterializer`
  - Adds support for `Operate` an AstNode with a function that create a fusing.Op
  - Adds experimental and slow optimizer as a PoC
  - Adds verification that Ast.Fused does not exist in optimizer input
2014-11-17 17:45:48 +01:00
Johannes Rudolph
f4daef75d9 =htc optimize rendering for Strict entities 2014-11-12 16:57:18 +01:00
Johannes Rudolph
306c4b8e52 !htc,par cleanup warnings
- about Rendering not being accessible for implementors
 - about DepFn1/2 being defined in package object
2014-11-12 11:44:13 +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
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
Björn Antonsson
a7861a5301 Merge pull request #16207 from spray/w/16084-CustomHeader-model
+htc #16084 introduce CustomHeader superclass for user-defined headers
2014-11-05 11:24:20 +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
Konrad Malawski
77fee04976 Merge pull request #16206 from spray/w/16175-regard-raw-request-uri-header-setting
=htc #16175 regard `raw-request-uri-header` setting
2014-11-04 16:30:43 +01:00
Johannes Rudolph
11f293731f +htc #16084 introduce CustomHeader superclass for user-defined headers 2014-11-04 16:08:31 +01:00