Commit graph

576 commits

Author SHA1 Message Date
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
Endre Sándor Varga
12c9abb8c9 !str #16410 #16597: Removed TimerTransform, added Timeout stages 2015-09-18 12:38:36 +02:00
Konrad Malawski
154bd23b85 =htc #18489 allow infinite value in max-content-length 2015-09-16 15:03:41 +02:00
Johannes Rudolph
a70e37d65c =htc add missing Java model class for ContentTypeRange 2015-09-09 10:28:34 +02:00
Konrad Malawski
6ffd238e68 Merge pull request #18000 from 2beaucoup/minor-test-fix
Reenable and fix tests in ContentNegotiationSpec
2015-08-19 16:57:18 +02:00
Konrad Malawski
9053259fe4 +htc #18250 add HttpEntity#apply(contentType, source) for Chunked 2015-08-18 18:32:08 +02:00
2beaucoup
09f2be5b2e =htp remove printEvent from test 2015-08-17 09:51:32 +02:00
2beaucoup
f6b6ed8638 =htp more newline test fixes 2015-08-17 09:51:25 +02:00
drewhk
343d64050d Merge pull request #18049 from spray/w/16472-max-content-size-for-chunked
=htc #16472 apply max-content-length setting to Chunked and CloseDelimited entities as well
2015-08-14 11:43:46 +02:00
drewhk
9f47102868 Merge pull request #18120 from spray/w/16834-client-side-uri-parsing-mode
+htc #16834 apply uri-parsing-mode setting to header parsing as well
2015-08-14 11:41:02 +02:00
drewhk
a89d7591f8 Merge pull request #18194 from spray/w/18044-fix-http-1.0-500-failures
=htc #18044 fail HTTP/1.0 requests with 400 if no default-host-header is set
2015-08-14 11:39:47 +02:00
Konrad Malawski
f4cd74136f Merge pull request #18171 from spray/w/16583-better-comment
=htc #16583 update comment to point to new issue
2015-08-14 10:55:43 +02:00
Johannes Rudolph
e460a58bc4 =htc move tests keys to src/test/resources (+ fix instructions) 2015-08-13 08:23:16 +02:00
Johannes Rudolph
cf35d1d1dd =htc #18044 fail HTTP/1.0 requests with 400 if no default-host-header is set 2015-08-12 12:29:45 +02:00
drewhk
560785eaaa Merge pull request #18143 from spray/w/http-stack-cleanups
A few HTTP/WS stack cleanups
2015-08-10 16:59:39 +02:00
Johannes Rudolph
2bf99a6d62 =htc #16583 update comment to point to new issue 2015-08-10 16:48:54 +02:00
Johannes Rudolph
3c39f71cba =htc fix scaladoc of Http.bindAndHandle* 2015-08-10 15:33:46 +02:00
Johannes Rudolph
6a2cd34139 =htc restructuring of Websocket stack as stacked BidiFlows 2015-08-07 16:45:41 +02:00
Johannes Rudolph
e34b86ba30 =htc convert request rendering from a stage to a plain function 2015-08-07 12:51:54 +02:00
Johannes Rudolph
9907bdad19 +htc #16834 apply uri-parsing-mode setting to header parsing as well 2015-08-04 13:25:37 +02: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
5c653f0641 =htc cosmetic fixes 2015-07-28 16:22:35 +02:00
Johannes Rudolph
94cb9ef808 =htc remove a layer of redundant wrapping 2015-07-28 16:21:53 +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
35db72e03b =htc #16472 apply max-content-length setting to Chunked and CloseDelimited entities as well 2015-07-21 17:55:02 +02:00
Johannes Rudolph
539be789d9 +doc #18012 add Java-side Server Websocket documentation 2015-07-20 14:52:39 +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
Konrad Malawski
e58dea7781 Merge pull request #18025 from spray/wip-18012-mathias
=docs #18012 complete remaining TODO sections in scala HTTP docs
2015-07-17 23:22:39 +02:00
Mathias
1441f201b1 =docs #18012 complete remaining TODO sections in scala HTTP docs 2015-07-17 17:08:26 +02:00
2beaucoup
2012726f1b =doc, htp minor fixes in docs and tests 2015-07-17 16:22:12 +02:00
Konrad Malawski
77d3e693c5 Merge pull request #17988 from ktoso/wip-javadsl-handleWith-ktoso
!htp #17965 more consistent and 22-ified javadsl handleWith
2015-07-15 12:22:46 +02:00
Konrad Malawski
569c0bf079 !htp #17965 more consistent and 22-ified javadsl handleWith 2015-07-15 11:31:18 +02:00
Johannes Rudolph
9000c15e51 =htc #17992 prevent single failing server connections from cancelling the binding 2015-07-15 09:12:57 +02:00
Konrad Malawski
38445af546 Merge pull request #17983 from spray/w/17982-parse-headers-and-ContentType
+htc #17982 introduce ModeledCompanion.parseFromValueString, MediaType.parse, and ContentType.parse
2015-07-14 18:35:43 +02:00
Konrad Malawski
12fa39cc39 Merge pull request #17987 from spray/w/17984-enable-content-negotiation-tests
ContentNegotiation fixes (and breakage)
2015-07-14 17:38:09 +02:00
Johannes Rudolph
5ba7918cd9 =htp #17985 fix content negotiation assuming charsetRanges being List in pattern match
(cherry picked from commit 76cc4d890c3b7ea3a5510656520c20b165090adb)
2015-07-14 13:10:17 +02:00
Johannes Rudolph
cc6271f400 +htc #17982 introduce ModeledCompanion.parseFromValueString, MediaType.parse, and ContentType.parse 2015-07-14 09:36:01 +02:00
Johannes Rudolph
6d80945be2 =doc document java-side handlers 2015-07-13 14:44:21 +02:00
Johannes Rudolph
11d98a6593 =doc port over some http documentation from the scala side 2015-07-10 19:14:02 +02:00
drewhk
76eef58411 Merge pull request #17948 from spray/w/small-java-api-additions
Smallish Java API fixes
2015-07-09 14:44:05 +02:00
Johannes Rudolph
9fc7825398 !htc use correct akka.japi.function.Function interface on the Java side 2015-07-09 09:13:02 +02:00
Johannes Rudolph
11376c8f01 !htc fix javadsl.model.HttpProtocols constants not being public static 2015-07-09 09:13:02 +02:00
Johannes Rudolph
ac559304df +htc add a new javadsl.model.headers.Location.create aux constructor 2015-07-09 09:12:50 +02:00
Johannes Rudolph
b7d5805e9b +htc add javadsl.model.HttpEntity.toStrict 2015-07-09 09:12:50 +02:00
Johannes Rudolph
da485055a3 +htc add java-side constructors for ChunkStreamParts 2015-07-09 09:12:45 +02:00