2014-03-26 32 views

回答

1

E.g

whenHttp(server). 
    match(Condition.get("/" + SOME_URI), Condition.withHeader("Accept", "application/xml")). 
    then(Action.ok(), Action.contentType("application/xml"), stringContent(xml));