Commit graph

386 commits

Author SHA1 Message Date
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Endre Sándor Varga
4ba4c27b0f splitting up TLS APIs 2016-02-16 21:49:35 +01:00
Konrad Malawski
10d3af1478 Merge pull request #19584 from cmbaxter/feature/xff-avoid-dns-cmbaxter
!htt #19388 Removing use of InetAddress.getByName
2016-02-15 13:29:50 +01:00
Matthias Lüneberg
5c205f7c1c =http =doc, fixes #16113 - fix some spray references in scaladoc 2016-02-12 14:40:58 +01:00
Chris Baxter
6d3bb94d09 !htt #19388 Chanring x-real-ip from raw to real modeled header
* Allows for parsing rules to be applied to vet the ip
* Removed last cases of code where the String variant of apply on RemoteAddress is used
2016-02-10 12:08:09 -05:00
Johan Andrén
442d10d123 Merge pull request #19673 from newca12/newca12-#19610-fix-multipart-form-data-unmarshaller
=htp fix multipart/form-data unmarshaller when no Content-Type field
2016-02-10 10:15:11 +01:00
Konrad Malawski
645028fa8c Merge pull request #19715 from ktoso/wip-done-marshalling
+htc #19708 provides default marshaller for akka.Done (200, empty text…
2016-02-10 10:11:16 +01:00
Konrad Malawski
3d718cf1f1 +htc #19708 provides default marshaller for akka.Done (200, empty text response) 2016-02-08 16:07:35 +01:00
Olivier ROLAND
9fb3e147db =htp fix multipart/form-data unmarshaller when no Content-Type field is present
RFC 2046:
… multipart/* …
If no Content-Type field is present it is assumed to be "message/rfc822" in a "multipart/digest" and "text/plain" otherwise

RFC 2388:
As with all multipart MIME types, each part has an optional "Content-Type", which defaults to text/plain.
2016-02-02 18:42:12 +01:00
Brian Topping
7352266271 Merge remote-tracking branch 'upstream/master' into resources-with-osgi 2016-01-30 14:27:36 -07:00
Johan Andrén
61b375cec8 !htt #19514 Update RouterSettings to be non case class 2016-01-25 17:09:03 +01:00
Konrad Malawski
379a3a85b4 !htc #19514 add withXYZ methods to all configs 2016-01-25 15:30:59 +01:00
Konrad Malawski
244c52c226 !htc #19514 more case class => class boilerplate 2016-01-25 15:30:59 +01:00
Konrad Malawski
9b4b68f0c9 !htc #19514,#18958 make config in HTTP non-case class + from reference 2016-01-25 15:30:59 +01:00
Johan Andrén
2874a93665 Merge pull request #19604 from akka/wip-19441-convert-from-Option-to-Optional-in-javadsl-johanandren
!str #19441 convert from Option to Optional in javadsl
2016-01-25 14:12:31 +01:00
Martynas Mickevičius
a8abbaf36b wip #19441 convert from Option to Optional in javadsl 2016-01-25 11:02:54 +01:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Roland Kuhn
4c72495581 #19440 replace Scala Future usage with CompletionStage in javadsl
This entails:

  * adding akka.pattern.PatternCS.* to enable ask etc. with
    CompletionStage
  * changing RequestContext to offer an ExecutionContextExecutor for the
    CompletionStage.*Async combinators
  * splitting up akka.stream.Queue for JavaDSL consistency
2016-01-23 18:00:11 +01:00
Konrad Malawski
1b47fbeac7 !htc,doc,htp #19508 fix casing of WebSocket (as per spec) 2016-01-22 11:12:22 +01:00
drewhk
b1d99ca5a8 Merge pull request #19482 from agolubev/agolubev-#19361-migrating_ByteStringParserStage_to_GraphStage
=str #19361 migrating ByteStringParserStage to graph stage
2016-01-21 11:41:09 +01:00
Alexander Golubev
07c0da36f2 =str #19361 migrating ByteStringParserStage to graph stage 2016-01-20 12:23:48 -05:00
Roland Kuhn
e5baba2b29 squash some warnings 2016-01-20 11:54:24 +01:00
Endre Sándor Varga
60497f6561 also fix FlowInterleaveSpec
Also-by: Johan Andrén <johan@markatta.com>
Also-by: Roland Kuhn <rk@rkuhn.info>
Also-by: Martynas Mickevičius <mmartynas@gmail.com>
2016-01-20 10:01:58 +02:00
Mathias
7eed4a34a5 !htc improve header rendering control by introducing distinction between request and response headers 2016-01-20 00:50:39 +01:00
Roland Kuhn
0db2c303ce Merge pull request #19465 from wjur/wjur/form_fields_master
[WIP] #16651 Add formFieldMap, formFieldMultiMap & formFieldSeq Directives
2016-01-19 14:43:50 +01:00
Martynas Mickevičius
8c1350b0d4 Merge pull request #19505 from 2m/wip-stream-build-fix
Various streams build improvements
2016-01-19 11:17:11 +02:00
Martynas Mickevičius
7743aa9d0a Various streams build improvements
* remove settings duplication between AkkaBuild and project specific .sbt files
* do not publish test projects
* run akka-http-core tests
* fix lambda sample project versions
* remove obsolete projects (streamAndHttp, httpParent, docsDev)
* exclude parsing project from unidoc
* update to the latest sbt
2016-01-18 18:16:30 +02:00
Endre Sándor Varga
57c1dfde8a 19441: Use Optional instead of Option in http core javadsl 2016-01-15 16:20:46 +01:00
Wojciech Jurczyk
edf0d6cb21 +htp: #16651 Add formFieldMap, formFieldMultiMap & formFieldSeq Directives 2016-01-14 23:16:00 +01:00
2beaucoup
f7a5151bbb #19447 remove compatibility fallbacks for Java < 8 2016-01-14 15:52:13 +01:00
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
Brian Topping
2a7e44d32c =htp #19331 Make FileAndResourceDirectives work in OSGi environments 2016-01-12 08:56:18 -07: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