-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Akka-HTTP backend #208
Closed
Closed
Akka-HTTP backend #208
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
843a076
A prototype of Akka Http backend
2m c3a19f1
Cleanup integration tests
2m 90a0903
Implement request filters
2m 4e14d8a
Add missing type annotations
2m fb866dc
Add test cases from Java api integration tests
2m 93adff4
All http methods
2m 0f1a115
Authentication support
2m d044a86
Virtualhost support
2m ef39d98
Request timeout support
2m 0b4ff08
First part of the Java API implementation
2m 726039f
Ported all scala integration tests over java implementation
2m fe481c9
Java API implementation using javadsl Akka Http API
2m c5b3bd7
Port RequestFilter spec to Java backends
2m 7315488
Refactor Scala API RequestFilter tests
2m 8065f62
Add missing copyright headers
2m d26cb84
Implement
2m 57f33b7
Mark unimplemented features as FIXMEs
2m cdc2704
Implement get status text
2m 2f80e22
Save strict response if response is unmarshalled
2m 13dbf85
Fix dependencies
2m 5b4c495
Use Http Method name constants
2m 13dc162
Fix race condition in test setup
2m 036fd4b
Remove api converters from a failed previous attempt
2m e0a88ae
Fix Scala 2.11 compilation
2m 875ad53
Implement cookies
2m 4d6d517
Complete request timeout support
2m c10f727
Complete virtual host support
2m 082b787
Implement auth getters
2m e03db58
Implement getters for url, method, content type and body
2m 62de06d
Fix content type spec
2m bc19089
Typo fix
2m 311bd62
Implement content type getter on response
2m 0f16eac
Port AHC unit tests as integration tests for all APIs and backends
2m 9c81700
Remove unnecessary dependency
2m d248fa4
Remove unused imports
2m 526042c
Https tests and context parameter
2m 766ae0b
Disable AHC HTTPS test while AHC backend is not configured
2m 9ce489b
Formatting changes after rebase
2m 58323ad
Remove deprecated formatting settings after rebase
2m 814d633
Provide custom dns records via akka dns resolver
2m File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
integration-tests/src/test/scala/akka/io/AkkaExampleOrgToLocalhostDnsProvider.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package akka.io | ||
|
||
import java.net.InetAddress | ||
|
||
import scala.concurrent.duration._ | ||
|
||
class AkkaExampleOrgToLocalhostDnsProvider extends DnsProvider { | ||
override def cache: Dns = { | ||
val cache = new SimpleDnsCache() | ||
cache.put(Dns.Resolved("akka.example.org", Seq(InetAddress.getByName("127.0.0.1"))), 1.hour.toMillis) | ||
cache | ||
} | ||
override def actorClass = classOf[InetAddressDnsResolver] | ||
override def managerClass = classOf[SimpleDnsManager] | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason to have this inside
akka.io
package instead ofplay.api.ws
?