Commit graph

303 commits

Author SHA1 Message Date
Johan Andrén
19c8e557ba =htp #18661 effectiveUri in Java testkit
Java testkit now uses effectiveUri to behave just like the Scala testkit so that
the host header and path is joined. This allows for test calls that use just a relative
URI.
2015-10-24 13:47:25 +02:00
Konrad Malawski
ce07ae75b7 +doc,htp #18496 overrideMethodWithParameter 2015-10-12 02:05:29 +02:00
Konrad Malawski
7f883a8b16 +htp #18496 add missing directive documentation (scala) 2015-10-07 10:46:11 +02:00
Konrad Malawski
a534e9bddc Merge pull request #17643 from pjan/revision/http/generalised-authentication
!htp #17384 - Generalised Security Directives to accept Bearer Token Authentication
2015-09-29 10:52:52 +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
pjan vandaele
4dde089d82 Generalised Authentication Directives to accept Bearer Tokens
Make type of credential authentication explicit

Cleanup
2015-09-26 09:40:29 +09: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
db1be86b02 +htp #16438 add Java-side rejection handling support 2015-09-09 10:31:00 +02:00
Johannes Rudolph
96ef8875c8 !htp use immutable collections in Rejections 2015-09-09 10:28:34 +02:00
Konrad Malawski
522edf11b6 Merge pull request #18390 from fehmicansaglam/18389-fix-spray-json-unmarshaller-utf8-bug-fehmicansaglam
Fix spray-json unmarshaller utf8 encoding bug
2015-09-03 11:16:31 +02:00
Fehmi Can Saglam
5cfbfc63ea =htp #18389 Fix spray-json unmarshaller utf8 encoding bug 2015-09-03 11:42:36 +03:00
Konrad Malawski
dfed97818f Merge pull request #18381 from ktoso/wip-reenable-tests-ktoso
=htp #18361 reenable pending tests ported from spray
2015-09-03 10:23:26 +02:00
Konrad Malawski
4e1b812828 =htp #18361 enable pending test in RouteDirectivesSpec 2015-09-01 15:24:28 +02:00
Konrad Malawski
1c3defc6dc =htp #18361 bump spray-json version and enable pending spec 2015-09-01 12:56:51 +02:00
Johannes Rudolph
3ef074d1ec =htp #17068 decodeRequestWith(NoEncoding) should not touch request entity 2015-08-31 12:08:05 +02:00
Johannes Rudolph
689ff45382 =htp #17419 fix Decoder.decode to collect all output data 2015-08-31 11:02:33 +02:00
Johannes Rudolph
060ea707c9 +htp #17726 add support for WS subprotocols to WebsocketDirectives
Also, update WebsocketDirectiveSpecs to the new WS testing infrastructure.
2015-08-26 13:39:20 +02:00
2beaucoup
75d50e6974 =htp fix test in FileAndResourceDirectivesSpec 2015-08-25 14:39:03 +02:00
2beaucoup
8dc2bd6e92 =htp: remove chunking leftovers from FileAndResourceDirectivesSpec, cleanup 2015-08-25 11:22:37 +02:00
2beaucoup
514b2bc687 =htp #17984 reenable test in ContentNegotiationSpec
also make it more agnostic to newline encodings
2015-08-17 09:48:54 +02:00
2beaucoup
e4f1ce36ef =htp: reenable tests 2015-08-06 10:57:43 +02:00
kulikov
fd290b2a66 =htp: fix match headers by symbol name 2015-07-29 20:02:08 +03:00
Johannes Rudolph
3b7d308545 !htp,jso,xml #18064 remove implicit parameters of Unmarshaller instances 2015-07-24 10:11:56 +02:00
2beaucoup
2012726f1b =doc, htp minor fixes in docs and tests 2015-07-17 16:22:12 +02:00
Konrad Malawski
569c0bf079 !htp #17965 more consistent and 22-ified javadsl handleWith 2015-07-15 11:31:18 +02:00
Johannes Rudolph
ed76b14447 +doc add more detailed PathDirectives documentation 2015-07-14 19:04:42 +02:00
Johannes Rudolph
c401d8a2fe +htp #16439 allow creation of custom marshallers on the java side 2015-07-14 18:36:18 +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
e6d9f28545 =htp #17984 #17985 fix ContentNegotiationSpec 2015-07-14 14:42:34 +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
e3ae7abb3b =htp #17984 enable lot's of broken tests in ContentNegotiationSpec
(cherry picked from commit ab14e14cccd08dfb260a1b0bb2d04f2cee44479e)
2015-07-14 13:10:15 +02:00
Johannes Rudolph
318ad0a849 +htp allow creation of custom Parameters, FormFields, PathMatchers, Unmarshallers, and RequestVals 2015-07-10 19:12:15 +02:00
2beaucoup
795faad37f =htp #17873 normalize whitespace for resource paths 2015-07-08 15:18:38 +02:00
Johannes Rudolph
83833ae4f8 =htj #16436 add missing Java directives 2015-06-24 12:03:02 +02:00
Johannes Rudolph
10ea40b2f8 !htj move RequestVal classes to javadsl.server.values 2015-06-24 11:59:19 +02:00
Johannes Rudolph
45a410b02a +htj #16436 add ExecutionDirectives.handleExceptions 2015-06-24 11:59:19 +02:00
Johannes Rudolph
30e4acacfa =htj move directive tests into own package 2015-06-24 11:59:19 +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
drewhk
e70b8c3e48 Merge pull request #17767 from spray/w/various-small-improvements
Various small improvements
2015-06-19 14:28:48 +02:00
drewhk
b4272b77c2 Merge pull request #17107 from alekstorm/repeated-parameter
+htp extract multiple occurrences in the parameters/formFields directives by suffixing with *
2015-06-18 13:27:51 +02:00
Johannes Rudolph
1d5332a311 =htp add more tests for PathDirectives and fix test descriptions 2015-06-18 11:35:47 +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
Johannes Rudolph
eb8d834246 =htp #17051 fix BodyPartParser failing to detect initial boundary if it is chunked 2015-06-16 14:46:34 +02:00
Johannes Rudolph
211eeb95bd =htp move tests for MultipartUnmarshallers to dedicated file 2015-06-16 14:46:33 +02:00
drewhk
632868b868 Merge pull request #17660 from spray/w/another-batch-of-smallish-fixes
Fixes #16839 and #17067
2015-06-12 16:04:30 +02:00
Johannes Rudolph
e540882049 +htp #16810 use flushing deflate call on Java > 6 2015-06-07 11:51:21 +02:00
Johannes Rudolph
9b0aa86f15 +htc #17609 overloads to handle websocket requests with sink and source, removed materializer param 2015-06-05 17:47:38 +02:00
Johannes Rudolph
0018bc2cda =htp #17067 port XXE fixes and tests from spray/spray#1024 2015-06-05 17:29:55 +02:00