=doc,htp #20466 Include Respond Directives Examples for Java. (#20595)

* Include Respond Directives Examples for Java.

* Include license on RespondWithDirectivesExamplesTest.
This commit is contained in:
Felipe Fernández 2016-05-24 09:54:44 +01:00 committed by Konrad Malawski
parent 06c7467a0e
commit d9c7f9b7f0
6 changed files with 141 additions and 6 deletions

View file

@ -5,7 +5,7 @@ package docs.http.scaladsl
import akka.http.scaladsl.marshallers.sprayjson.SprayJsonSupport
import akka.http.scaladsl.server.Directives
import org.scalatest.{Matchers, WordSpec}
import org.scalatest.{ Matchers, WordSpec }
class SprayJsonCompactMarshalSpec extends WordSpec with Matchers {
@ -22,7 +22,7 @@ class SprayJsonCompactMarshalSpec extends WordSpec with Matchers {
}
// use it wherever json (un)marshalling is needed
class MyJsonService extends Directives with CompactJsonFormatSupport{
class MyJsonService extends Directives with CompactJsonFormatSupport {
// format: OFF
val route =