Commit graph

134 commits

Author SHA1 Message Date
Viktor Klang
f29d7affbd !str #18692 javadsl.FlowGraph.Builder.add()
* also make factories more consistent by only offering
  FlowGraph.create()
* also remove secondary (edge-based) FlowGraph.Builder DSL
* also improve naming for conversions from Graph to
  Source/Flow/BidiFlow/Sink
2015-10-22 19:10:00 +02:00
Roland Kuhn
02810cfa64 !str,htc remove FlexiMerge/Route
- replace all occurrences with equivalent GraphStage implementations

This commit introduces a mini-DSL for GraphStage that allows emitting or
reading multiple elements to/from a port with one statement, installing
stateful handlers on the port to make it work. The emitting side allows
stacked continuations, meaning that while an emit() is ongoing (waiting
for demand) another one can be added to the queue; this allows
convenient formualation of merge-type stages.
2015-10-21 18:52:16 +02:00
Konrad Malawski
cddb1ade40 =htc,doc #18496 make all directive docs have the same style, some
additions
2015-10-12 02:12:26 +02:00
Konrad Malawski
2927568225 +doc,htp #18496 file directives docs 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
Konrad Malawski
27eba7ffa3 =doc,htp #18657 document Headers request values 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
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
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
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
2f2e07666e +htc,java #18600 Add missing convenience ContentTypes class 2015-09-29 20:58:47 +02:00
Konrad Malawski
239b4ca268 Merge pull request #18517 from agolubev/agolubev-#18378-small-typos-in-stream-docs
=str #18378 Small typos in Streams docs
2015-09-28 12:51:40 +02: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
b1f9f77a17 =htc #18533 make configuration of parsing less confusing 2015-09-25 13:53:23 +02:00
Alexander Golubev
8070aa0b24 =str #18378 Small typos in Streams docs
very small fix
2015-09-18 12:30:34 -04:00
Alexander Golubev
c066ce4a8a =str #18378 Small typos in Streams docs 2015-09-18 10:02:09 -04:00
Konrad Malawski
8ea47c3d37 Merge pull request #18352 from 2m/wip-doc-api-update-stream-io
=doc update stream-io doc page to the latest API
2015-09-04 12:01:05 +02:00
Endre Sándor Varga
22a9c2703f =str #17803: Document that DetachedStage might "unhold" a token 2015-09-02 17:00:43 +02:00
Endre Sándor Varga
62a299f3a5 =str #18189: Explicitly disallow absorbTermination() from onDownstreamFinish() 2015-09-02 16:46:37 +02:00
Alexander Golubev
7620014358 +str #17399 add boilerplate remover for fan-in junctions 2015-09-01 09:51:23 -04:00
Martynas Mickevičius
ccfbc390b9 =doc update stream-io doc page to the latest API
* style changes remove double border from inline code blocks
2015-08-28 09:35:23 +03:00
Konrad Malawski
d89b9e19b1 Merge pull request #18062 from spray/w/15687-enable-endpoint-verification
#18059 #15687 Enable https hostname verification
2015-08-03 11:35:37 +02:00
Johannes Rudolph
df3f886db8 !htc #15687 enable https hostname verification on Java 7+ 2015-08-03 10:43:25 +02:00
Johannes Rudolph
58e78757de =htp a few small things that got lost in the #17988 merge 2015-07-24 13:45:02 +02:00
Johannes Rudolph
8ef7c64886 +htc #18027 add the missing javadsl.clientLayer and serverLayer 2015-07-24 12:08:15 +02:00
Johannes Rudolph
e14773c3d9 !htp #18017 don't use scala.Tuple2 in javadsl 2015-07-23 17:21:30 +02:00
Johannes Rudolph
3e7621c836 !htp #18028 fix signature of Java-side handleWebsocketMessages directive 2015-07-23 16:53:27 +02:00
Johannes Rudolph
414a26a85e =doc #17591 add note that long running requests may block connections 2015-07-21 14:25:07 +02:00
Johannes Rudolph
62a43d27bb =doc #16812 link community extension to HTTP for other (JSON) marshallers 2015-07-21 14:08:14 +02:00
Johannes Rudolph
ba7181babe +doc #15497 document encoding response entities of HEAD requests 2015-07-21 13:47:16 +02:00
Martynas Mickevičius
d27679ac99 Merge pull request #18029 from spray/w/java-side-documentation
+doc #18012 add Java-side Server Websocket documentation
2015-07-20 17:58:50 +03:00
Johannes Rudolph
539be789d9 +doc #18012 add Java-side Server Websocket documentation 2015-07-20 14:52:39 +02:00
Johannes Rudolph
1ee6113c95 +doc #18012 port client-side https documentation to the java-side 2015-07-20 14:50:33 +02:00
Martynas Mickevičius
6b0cacb039 =doc #18012 rate transformation doc improvements
* use () when calling scala methods with side effects
* concat immutable lists instead of modifying mutable ones
* use Collections.singletonList instead of sublassing ArrayList
* and typo fixes
2015-07-20 15:21:16 +03:00
Konrad Malawski
e96e4bce7a Merge pull request #18039 from netcomm/patch-1
Update stream-composition.rst
2015-07-20 09:32:01 +02:00
Konrad Malawski
f48a69f01d =doc fix typo in host-level http docs 2015-07-20 02:21:37 +02:00
Konrad Malawski
30bb717468 +str,doc #18012 adds missing docs on client-side http in java 2015-07-19 17:40:27 +02:00
netcomm
d2767495ac Update stream-composition.rst 2015-07-19 21:25:16 +08:00
Konrad Malawski
30010374fa Merge pull request #18024 from 2m/wip-18012-rate-transformation-docs-2m
=doc #18012 rate transformation docs
2015-07-18 00:48:54 +02:00
Konrad Malawski
a32183d9f0 Merge pull request #18026 from 2beaucoup/fix-docs
minor doc fixes
2015-07-17 17:49:45 +02:00
Johannes Rudolph
e47585d20e =doc #18012 add placeholder documentation for #18027 2015-07-17 17:06:44 +02:00
2beaucoup
2012726f1b =doc, htp minor fixes in docs and tests 2015-07-17 16:22:12 +02:00
Johannes Rudolph
d50c0e3426 =doc shuffle test files around to proper packages 2015-07-17 16:11:03 +02:00
Johannes Rudolph
b2c38444b3 +doc #18012 add handleWithAsync documentation + examples 2015-07-17 16:11:03 +02:00
Martynas Mickevičius
ada0d31ec7 =doc #18012 rate transformation docs 2015-07-17 17:03:48 +03:00