This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am matiwinnetou on github. | |
* I am matiwinnetou (https://keybase.io/matiwinnetou) on keybase. | |
* I have a public key whose fingerprint is 83E6 E53B A395 17EB 068B DF91 FF31 7FD1 233E 22C9 | |
To claim this, I am signing this object: |
This file contains hidden or 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
public static F.Promise<Result> index6() { | |
String makesUrl = "http://m.mobile.de/svc/r/makes/Car"; | |
String modelsUrl = "http://m.mobile.de/svc/r/models/375"; | |
F.Promise<SvcApi.Makes> makesP = WS | |
.url(makesUrl).get() | |
.map(response -> gson.fromJson(response.getBody(), SvcApi.Makes.class)); | |
F.Promise<SvcApi.Models> modelsP = WS | |
.url(modelsUrl).get() |
This file contains hidden or 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
package play; | |
import com.google.gson.Gson; | |
import com.google.gson.annotations.SerializedName; | |
import play.libs.F; | |
import play.libs.ws.WS; | |
import play.libs.ws.WSResponse; | |
import play.mvc.Http; | |
import java.util.List; |
This file contains hidden or 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
<metadata modelVersion="1.1.0"> | |
<groupId>de.mobile.translations</groupId> | |
<artifactId>mobile-pregenerated-resourcebundles</artifactId> | |
<version>LATEST-SNAPSHOT</version> | |
<versioning> | |
<snapshot> | |
<timestamp>20140528.150131</timestamp> | |
<buildNumber>4465</buildNumber> | |
</snapshot> | |
<lastUpdated>20140528150131</lastUpdated> |
This file contains hidden or 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
public class HttpRequest { | |
private String requestId; | |
private HttpRequestsCache httpRequestsCache; | |
public HttpRequest(final HttpRequestsCache httpRequestsCache, final String prefix, final WSRequestHolder holder) { | |
this.requestId = prefix.concat(":").concat(UUID.randomUUID().toString()); | |
this.httpRequestsCache = httpRequestsCache.addRequest(requestId, holder); | |
} |
This file contains hidden or 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
package pl.matisoft.soy.example; | |
import com.google.common.collect.Lists; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.annotation.Bean; | |
import org.springframework.context.annotation.ComponentScan; | |
import org.springframework.context.annotation.Configuration; | |
import org.springframework.web.servlet.View; | |
import org.springframework.web.servlet.ViewResolver; | |
import org.springframework.web.servlet.config.annotation.EnableWebMvc; |
NewerOlder