Commit graph

46 commits

Author SHA1 Message Date
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
Konrad Malawski
05ab43f824 =doc,htc better example docs on mapping error response to empty JSON body 2015-11-24 12:02:20 +01:00
Konrad Malawski
8a33c22e8f =doc fixup due to validation having run before we merged in the rename 2015-11-18 16:20:38 +01:00
Konrad Malawski
00a7ecd1f0 Merge pull request #18893 from johanandren/wip-18471-metadata-plus-file-upload-johanandren
=doc WIP #18471 examples for file uploads
2015-11-18 14:33:10 +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
Johan Andrén
cd3a9ccf85 =doc 18471 Document file uploads 2015-11-16 14:17:56 +01:00
2beaucoup
8f75c97e47 !htp #18479 defer parsing of query key-value-pairs 2015-11-03 23:19:44 +01:00
Roland Kuhn
556012b7ee !str,htc replace and remove OneBoundedInterpreter
main work by @drewhk with contributions from @2m and @rkuhn

This work uncovered many well-hidden bugs in existing Stages, in
particular StatefulStage. These were hidden by the behavior of
OneBoundedInterpreter that normally behaves more orderly than it
guarantees in general, especially with respect to the timeliness of
delivery of upstream termination signals; the bugs were then that
internal state was not flushed when onComplete arrived “too early”.
2015-11-01 14:53:52 +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
Roland Kuhn
dc07fd250c !str make Inlet/Outlet invariant and add Java variance
This necessitates the removal of method overloading in the Java Graph
DSL: the to() and via() methods were not otherwise resolved correctly by
javac, leading to incomprehensible error messages. The new approach is
to offer just one way of doing things which is a bit more verbose but
should be easier to read and learn. In this vein auto-importing while
using the DSL is also gone for Java—not sure about Scala yet.
2015-10-21 17:48:54 +02:00
Johan Andrén
0969b6263e RangeDirectivesExamplesSpec uncommented and working 2015-10-19 16:48:21 +02:00
Konrad Malawski
99158f515c Merge pull request #18727 from 2m/wip-coding-directives
=doc #18496 add scala docs for coding directives
2015-10-14 16:54:35 +02:00
Martynas Mickevicius
073c201e75 =doc #18496 add scala docs for coding directives 2015-10-14 16:33:51 +02:00
Konrad Malawski
bb053bea2a =htc,doc #18496 lots of small improvements and last missing docs 2015-10-12 02:05:29 +02:00
Konrad Malawski
15897a3b48 +doc,htp #18496 recoverRejections documented 2015-10-12 02:05:29 +02:00
Konrad Malawski
afcd3e2127 +doc,htp #18496 example for formfield 2015-10-12 02:05:29 +02:00
Konrad Malawski
2927568225 +doc,htp #18496 file directives docs 2015-10-12 02:05:29 +02:00
Konrad Malawski
4c81e6cbea +doc,htp #18496 cancelRejections 2015-10-12 02:05:29 +02:00
Konrad Malawski
ce07ae75b7 +doc,htp #18496 overrideMethodWithParameter 2015-10-12 02:05:29 +02:00
Konrad Malawski
ea49e7624c =doc,htpi #18496 more security directives docs 2015-10-12 02:05:28 +02:00
Konrad Malawski
de9262ab8a Merge pull request #18627 from ktoso/wip-directives-bonanza-ktoso
Akka HTTP Directives Documentation Bonanza
2015-10-07 10:47:15 +02:00
Konrad Malawski
7f883a8b16 +htp #18496 add missing directive documentation (scala) 2015-10-07 10:46:11 +02:00
Konrad Malawski
452bbe03fe +doc,htc #18610 document using singleRequest in Actors 2015-10-06 13:01:58 +02:00
Konrad Malawski
6920e4cea2 =htc,doc #18535 improved docs on spray-json usage 2015-10-02 11:43:15 +02:00
Konrad Malawski
9bd11620f0 +htc add popular ContentType instances for convenience 2015-10-02 11:19:14 +02:00
Konrad Malawski
573a69e2b9 +doc,htc #18600,18597 documents where/how to deal with failure in Http 2015-09-29 23:10:00 +02: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
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
9399455601 =doc add more documentation for WebsocketDirectives and testing 2015-08-26 13:39:20 +02:00
Johannes Rudolph
3b7d308545 !htp,jso,xml #18064 remove implicit parameters of Unmarshaller instances 2015-07-24 10:11:56 +02:00
Johannes Rudolph
539be789d9 +doc #18012 add Java-side Server Websocket documentation 2015-07-20 14:52:39 +02:00
Mathias
1441f201b1 =docs #18012 complete remaining TODO sections in scala HTTP docs 2015-07-17 17:08:26 +02:00
Johannes Rudolph
f9b8125333 =doc add explanation about Route => Flow conversion 2015-07-13 14:40:23 +02:00
Endre Sándor Varga
7879a5521b Rename FlowMaterializer to Materializer 2015-06-23 18:47:28 +02:00
Johannes Rudolph
c7bb5006f8 +doc add server-side WebSocket documentation 2015-06-22 20:56:36 +02:00
Mathias
7498533509 =docs #17600 fix incorrect http client example 2015-06-19 14:39:00 +02:00
Alek Storm
d3742c577a +htp extract multiple occurrences in the parameters/formFields directives by suffixing with .* 2015-06-17 22:21:37 -07:00
drewhk
c59a176a84 Merge pull request #17506 from spray/w/16826-introduce-cookie-pairs
!htc #16826 introduce HttpCookiePair for usage in `Cookie`-header
2015-06-01 16:12:56 +02:00
drewhk
e2eab532ab Merge pull request #17552 from spray/w/fix-implicits
=htp add explicit result types to formField/parameter implicits
2015-05-28 12:51:13 +02:00
Johannes Rudolph
b2e6b650fd !htc #16826 introduce HttpCookiePair for usage in Cookie-header 2015-05-28 12:43:45 +02:00
Johannes Rudolph
c417d727da =htp add explicit result types to formField/parameter implicits
Otherwise, the applicability of the implicit conversions can depend on
the order of compiler-internal loading/typing which is hardly predictable.
2015-05-22 14:37:21 +02:00
Johannes Rudolph
4b256f7c1a =doc another batch of documentation (example) fixes 2015-05-21 17:34:46 +02:00
Johannes Rudolph
fd85cac20f =doc fix mentions of spray and link to magnet pattern 2015-05-21 13:24:57 +02:00
Johannes Rudolph
546936146b =doc fixed example compile errors either by fixing files or commenting them for now 2015-05-21 10:53:37 +02:00
Mathias
20759e1b34 =doc Significantly extend HTTP documentation with new content and ports from spray docs 2015-05-21 10:53:24 +02:00