Commit graph

354 commits

Author SHA1 Message Date
Konrad Malawski
f6147972d7 +pro add Akka Streams HTTP to master build
> merged akka-bench-jmh-dev with akka-bench-jmh
> renamed akka-stream-tck to more correctly named akka-stream-tests-tck
> merged java8 tests with normal tests in http
2016-01-13 01:25:04 +01:00
Konrad Malawski
cc0445f900 =htc,str #19256 InputStreamPublisher could emit without pending demand, bug 2015-12-22 20:23:41 +01:00
Roland Kuhn
469e15581f fusable SplitWhen and reusable HTTP blueprint
plus further optimizations

Lots of contributions from drewhk (Endre Varga).
2015-12-21 12:28:21 +01:00
Mathias
b01609c6fb =htc, htp replace double backticks in comments with single backtick 2015-12-17 23:02:10 +01:00
Johan Andrén
09a79f45e4 !str #19129 New homes for file and java.io stream factories 2015-12-17 14:41:02 +01:00
Konrad Malawski
d7b45e0fc3 Merge pull request #19187 from 2beaucoup/generic-csv-form-fields
!htp #19185 generic CSV form field unmarshallers
2015-12-16 16:08:40 +01:00
2beaucoup
4e86bf0cd6 !htp #19185 generic CSV form field unmarshallers 2015-12-16 13:52:06 +01:00
Mathias
c53025a780 =htp add explicit type annotations to public implicits where still missing 2015-12-14 23:06:07 +01:00
Anderson Osagie
d4ad6ea885 =htp stop case class extraction from throwing IllegalArgumentException 2015-12-14 14:42:58 +00:00
Roland Kuhn
0f74a0e02b Merge pull request #19118 from Softwire/wip-18567-unmarshallers-for-csv-number-sequences
!htp #18567 Added unmarshallers for CSV integer sequences
2015-12-13 17:48:27 +01:00
Roland Kuhn
27353d4952 Merge remote-tracking branch 'pr/19150' into release-2.3-dev 2015-12-13 16:55:39 +01:00
Roland Kuhn
ed35df0a44 Merge pull request #19151 from 2beaucoup/minor-cleanups
Minor cleanups
2015-12-13 16:48:32 +01:00
2beaucoup
474fb870e9 =htc: minor cleanups 2015-12-11 16:12:48 +01:00
Viktor Klang
33a9257a3b =str&http - 19142 - Renames all occurrences of mat with materializer
(When referring to a Materializer)
2015-12-11 14:45:24 +01:00
Anton Karamanov
1530248480 =htp #19099 make sure headers are always written on finish in GzipCompressor 2015-12-10 19:29:38 +00:00
Anton Karamanov
3dbb553b0e =htp #19099 fix encoding of empty stings 2015-12-10 19:29:30 +00:00
Roland Kuhn
1500d1f36d !str #19005 make groupBy et al return a SubFlow
A SubFlow (or SubSource) is not a Graph, it is an unfinished builder
that accepts transformations. This allows us to capture the substreams’
transformations before materializing the flow, which will be very
helpful in fully fusing all operators.

Another change is that groupBy now requires a maxSubstreams parameter in
order to bound its resource usage. In exchange the matching merge can be
unbounded. This trades silent deadlock for explicit stream failure.

This commit also changes all uses of Predef.identity to use `conforms`
and removes the HTTP impl.util.identityFunc.
2015-12-10 12:27:16 +01:00
Catalin Ursachi
62afd94a47 !htp #18567 Added unmarshallers for CSV integer sequences 2015-12-07 17:49:22 +00:00
Mathias
ba397463c3 !htc, htp #16991 add support for precompressed media-types and .gz file extension suffixes 2015-12-04 13:32:01 +01:00
Mathias
7900895044 !htc, htp remove specimen method of ranges, restrict Unmarshaller#forContentType 2015-12-04 13:32:01 +01:00
Mathias
899b92faf2 !htp #19034 refactor content negotiation, upgrade to new MediaType / ContentType model 2015-12-04 13:32:01 +01:00
Mathias
8fc02dd799 +htp add selectPreferredLanguage directive incl. docs 2015-11-27 12:52:53 +01:00
Johan Andrén
3c0877d964 +htt 16841 uploadedFile directive
Two new directives for accepting file uploads through multipart forms:

`uploadedFile` which allows for very simple upload into a temporary file
`fileUpload` which allows to simply work with the stream of bytes of an upload
2015-11-24 16:21:25 +01:00
Mathias
9aacb6fb00 =htp #18999 fix IllegalArgumentException in getFromFile/getrFromResource when serving empty files 2015-11-23 16:11:12 +01:00
Viktor Klang
8780ba28a4 !str - Moving the InputStream and OutputStream utilities into Source and Sink 2015-11-18 09:13:57 +01:00
Viktor Klang
20c996fe41 !str - 18916 - Source.file and Sink.file
* Removes `Synchronous` from the names and descriptions of File I/O as it leaks impl details
* Removes the factries for FileSource and FileSink and puts them in Source and Sink respectively
2015-11-17 09:50:10 +01:00
2beaucoup
8f75c97e47 !htp #18479 defer parsing of query key-value-pairs 2015-11-03 23:19:44 +01:00
drewhk
4fa3fcf572 Merge pull request #18707 from agolubev/agolubev-#17338_add_OutputStreamSource_GraphStage_based
Agolubev #17338 add output stream source graph stage based
2015-10-28 17:33:33 +01:00
Alexander Golubev
8ea52a6bb4 +str #17338 add OutputStreamSource and InputStreamSink 2015-10-28 11:22:32 -04:00
Viktor Klang
f330cfb394 =str - Makes GraphStageWithMaterializedValue covariant its type parameters 2015-10-27 17:25:34 +01:00
Johan Andrén
1ce023ebc0 =htp #16962 docs for creating custom directives
Mostly ported from the spray docs
2015-10-26 14:53:25 -07:00
Konrad Malawski
ce07ae75b7 +doc,htp #18496 overrideMethodWithParameter 2015-10-12 02:05:29 +02:00
Konrad Malawski
4e7999cf0a +htc,doc #18657,#18665 FormData javadsl and FormField docs 2015-10-08 16:50:21 +02:00
Konrad Malawski
a17604500f =doc,htp #18657 document FormField vals 2015-10-08 13:01:25 +02:00
Patrik Nordwall
3081893bfd =doc #18657 Doc host and path directives
* also including docs of RequestVals.matchAndExtractHost
  and RequestVals.matchAndExtractHost
* and add Host.create factory methods
* add missing HttpRequest PATCH and OPTIONS
* change to val in matchAndExtractHost for
  fail fast exception
2015-10-08 11:50:41 +02:00
Konrad Malawski
7f883a8b16 +htp #18496 add missing directive documentation (scala) 2015-10-07 10:46:11 +02:00
Konrad Malawski
f9909d79ab Merge pull request #18562 from ktoso/wip-illegal-headers-warning-bad-ktoso
=htc #18533 make configuration of parsing less confusing
2015-10-06 10:40:06 +02:00
Konrad Malawski
96da6ad4bb Merge pull request #18584 from kukido/kukido-17329-harmonize-spelling
=doc #17329 Spelling normalization, typos fixed.
2015-09-30 15:30:12 +02:00
Konrad Malawski
a534e9bddc Merge pull request #17643 from pjan/revision/http/generalised-authentication
!htp #17384 - Generalised Security Directives to accept Bearer Token Authentication
2015-09-29 10:52:52 +02:00
kukido
f858881b2e =doc #17329 Spelling normalization, typos fixed. 2015-09-28 22:45:38 -07:00
Konrad Malawski
2569b3f92a Merge pull request #18520 from ktoso/wip-csvParams-simpler
=htc #18518 make it simpler to unmarshal csv values from params
2015-09-28 12:08:52 +02:00
pjan vandaele
4dde089d82 Generalised Authentication Directives to accept Bearer Tokens
Make type of credential authentication explicit

Cleanup
2015-09-26 09:40:29 +09:00
Konrad Malawski
cad852025d Actually implement proper cascading 2015-09-25 16:04:44 +02:00
Roland Kuhn
68ba0643d6 =str,htp clean up build warnings
- explicitly provide Unit values and place parens around tuple creation
- remove structural type usage in TestUtils
- fix Java double-casts
- use unused Java values by asserting their non-nullness
- work around inability to place case class in trait (scripted test)

The remaining warnings about using private types in public methods are
bogus as reported in https://issues.scala-lang.org/browse/SI-9490.
2015-09-25 15:20:23 +02:00
Konrad Malawski
c9adfcfbc7 =htc #18518 make it simpler to unmarshal csv values from params 2015-09-20 19:27:04 +01:00
Johannes Rudolph
db1be86b02 +htp #16438 add Java-side rejection handling support 2015-09-09 10:31:00 +02:00
Johannes Rudolph
96ef8875c8 !htp use immutable collections in Rejections 2015-09-09 10:28:34 +02:00
Konrad Malawski
dfed97818f Merge pull request #18381 from ktoso/wip-reenable-tests-ktoso
=htp #18361 reenable pending tests ported from spray
2015-09-03 10:23:26 +02:00
Konrad Malawski
4e1b812828 =htp #18361 enable pending test in RouteDirectivesSpec 2015-09-01 15:24:28 +02:00
Johannes Rudolph
3ef074d1ec =htp #17068 decodeRequestWith(NoEncoding) should not touch request entity 2015-08-31 12:08:05 +02:00