Commit graph

406 commits

Author SHA1 Message Date
mumutu
d08b335143 boolean unmarshallers will unmarshall 0 to false 1 to true (#20416)
* add 0 => false 1 => true
* add test
2016-04-29 17:46:14 +02:00
Konrad Malawski
c57c6eda7e +htc #20273 EitherUnmarshaller (#20274) 2016-04-22 13:48:00 +02:00
Daniel Moran
c8352c04c4 Migrate BodyPartParser to GraphStage #20288. 2016-04-19 19:04:31 -07:00
Alan Johnson
b3c85512a3 htp #19678 add variadic concat route combinator
* add variadic route concatenation function

* add `concat` to `~` warning bubble in docs

* fix grammar of warning bubble, and clarify
2016-04-05 15:36:46 +02:00
Bernard Leach
d9f82d71eb htc #19834 convert streamutils to GraphStages graphstage
* =htc #19834 replace byteStringTransformer with GraphStage implementation

* =htc #19834 replace mapErrorTransformer with GraphStage implementation

* htc #19834 replace sliceBytesTransformer with GraphStage implementation

* htc #19834 inline mapErrorTransformer with simple recover Flow
2016-04-05 14:02:40 +02:00
Lars Hupel
aec81c2ac2 htp #20103 introduce Scaladoc groups for Directives 2016-04-04 11:50:44 +02:00
Konrad Malawski
d83a323549 =htp #20052 headerValueByType now works with custom headers 2016-03-22 13:11:05 +01:00
Konrad Malawski
1e2b34b488 Merge pull request #20098 from akka/wip-remove-workaround-comment-ktoso
=htp #18615 rm comment on workaround in Scala 2.10
2016-03-22 12:21:18 +01:00
Konrad Malawski
4290b5640d =htp #18615 rm comment on workaround in Scala 2.10 2016-03-22 11:16:23 +01:00
Konrad Malawski
e0bac41822 +htc #19162 add init workaround when scala inits first (and then java) 2016-03-21 17:20:04 +01:00
Konrad Malawski
0c4c5a5909 Merge pull request #20043 from wlk/issue-18500-fix-scaladoc-warnings
=doc fix scaladoc warnings #18500
2016-03-18 17:42:49 +01:00
Konrad Malawski
2933045156 +htp #20002 add authorizeAsync 2016-03-17 00:58:33 +01:00
Wojciech Langiewicz
2cdf447f6e =doc fix scaladoc warnings #18500 2016-03-16 09:18:39 +01:00
Konrad Malawski
a253014ef4 =htp #19397,#19842 fix content negotiation for non 2xx and Accept handling 2016-03-15 09:40:58 +01:00
Konrad Malawski
4d9ffd6387 Merge pull request #20000 from wlk/wlk-18500-fix-scaladoc-warnings-from-jenkins
[WIP] fixing scaladoc warnings reported by jenkins
2016-03-11 15:11:31 +01:00
Wojciech Langiewicz
afce1b7529 fixing scaladoc warnings reported by jenkins 2016-03-10 13:05:32 +01:00
Martynas Mickevičius
50f99328fe #18765 Update to latest MiMa which is now an AutoPlugin.
* check for binary inc. issues by default
* if check is not needed, disable MimaPlugin
* determine old artifact id from the current one
2016-03-10 10:45:35 +02:00
Konrad Malawski
ac1888fd66 Merge pull request #19871 from ktoso/wip-timeout-http-error-ktoso
=htc #19827 avoid double-push when request timeout triggers
2016-03-08 19:29:35 +01:00
Konrad Malawski
2d7d24dee6 +doc,htp #19896 directives for RequestTimeout and docs 2016-03-08 18:17:35 +01:00
Johannes Rudolph
3c3a96bdc8 =pro upgrade to sbt-boilerplate 0.6.0 2016-03-01 15:48:50 +01:00
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