Commit graph

276 commits

Author SHA1 Message Date
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
Endre Sándor Varga
1dde8b3a3b making http pass with serialization checks 2015-06-02 13:56:04 +02:00
Johannes Rudolph
b2e6b650fd !htc #16826 introduce HttpCookiePair for usage in Cookie-header 2015-05-28 12:43:45 +02:00
Endre Sándor Varga
be82e85ffc +str #17361: Unified http java/scala projects except marshallers 2015-05-22 13:51:34 +02:00
Mathias
5859c39f8b =ht* #17279 rename akka-http-* modules where agreed 2015-04-24 18:44:24 +02:00
Mathias
4d3b0e4edc +htc, htp: small improvement to HttpMessage::withDefaultHeaders 2015-04-23 15:31:51 +02:00
Johannes Rudolph
6fef5d534c +htc #16887 add support for WS application-level subprotocol negotiation 2015-04-22 13:58:39 +02:00
Johannes Rudolph
cd87dadf54 +htp #16887 add simple websocket support directive to akka-http 2015-04-22 13:57:32 +02:00
Mathias
4203d8d32e =htp #17051 fix BodyPartParser not handling streaming entities correctly 2015-04-10 14:00:30 +02:00
Roland Kuhn
8f47b6dfcc Merge pull request #17105 from akka/wip-async-stage-∂π
add async stage
2015-04-10 10:52:01 +02:00
Roland Kuhn
4c623fade7 !str #17090 add AsyncStage 2015-04-10 09:00:36 +02:00
Roland Kuhn
ad4396a561 Merge pull request #17103 from spray/wip-16803-mathias
!htc #16803 introduce proper model for type of media-type encoding specs
2015-04-09 16:58:19 +02:00
Roland Kuhn
6949b8d167 Merge pull request #17111 from spray/wip-15792-mathias
=htp #15792 make `entityAs` directive turn `IllegalArgumentException` into `ValidationRejection`
2015-04-09 16:40:14 +02:00
Roland Kuhn
6b9ca731cc Merge pull request #17112 from spray/wip-17110-mathias
=htc #17110 disallow zero body parts in MIME content
2015-04-09 16:27:18 +02:00
Mathias
5074aebfeb !htc #16803 introduce proper model for type of media-type encoding specs 2015-04-08 16:02:54 +02:00
Mathias
f0c9e8a321 =htc #17110 disallow zero body parts in MIME content 2015-04-01 12:26:40 +02:00
Mathias
612fc052e6 =htp #15792 make entityAs directive turn IllegalArgumentException into ValidationRejection 2015-03-31 11:48:27 +02:00
Mathias
0925a23be5 =htp #17082 fix response message generated for MethodRejection 2015-03-30 10:55:41 +02:00
Konrad Malawski
a382071ed7 Merge pull request #17042 from ktoso/wip-16972-bindandhandle-renames
!htc #16972 harmonize naming - bindAndHandle...
2015-03-25 15:53:24 +01:00
Roland Kuhn
4a7814af91 Merge pull request #17001 from spray/wip-16988-mathias
!htc #16988 hide model.parser.HeaderParser from public API, add proper `HeaderParser.parse`
2015-03-24 11:13:31 +01:00
Konrad Malawski
4a98f8335f !htc #16972 harmonize naming - bindAndHandle... 2015-03-14 11:41:45 -07:00
Konrad Malawski
ac6723cba7 +htc #16972 makes bindAndStartHandlingWith actually run() 2015-03-14 09:55:10 -07:00
Patrik Nordwall
3dc4e6d077 !str #16992 Rework Source and Sink name parameter
* Remove name parameter (no overloads), naming is performed using `.withAttributes` or the new
  convenience `.named`. Those adds the OperationAttribute.Name and also change the name of the
  shape Inlet and Outlet.

* Remove Source/Sink parameter list for 0 parameter methods,
  this allows usage of `Sink.head` instead of `Sink.head()`
2015-03-06 09:24:00 +01:00
Mathias
6352fbae81 !htc #16988 hide model.parser.HeaderParser from public API, add proper HeaderParser.parse 2015-03-05 11:36:30 +01:00
Roland Kuhn
70c6c1a246 Merge pull request #16949 from spray/wip-16835-mathias
Refactor akka.http.server.RejectionHandler
2015-02-27 14:11:52 +01:00
Roland Kuhn
fbe80f2b1f Merge pull request #16919 from spray/wip-16814-mathias
=htp #16814 Fix ClassCastException in `PathMatchers.NumberMatcher`
2015-02-27 14:10:33 +01:00
Mathias
63c622d6c7 !htp #16833 Add minimum number of iterations to PathMatcher::repeat modifier
Note: this breaks existing code using `Segments(n)` or `xxx.repeat(n)` because the semantics of these
calls change with this commit.
2015-02-27 09:57:44 +01:00
Mathias
9c3124f344 !htp #16835 Refactor RejectionHandler infrastructure for cleanliness and independence from rejection ordering 2015-02-27 09:49:10 +01:00