use of org.wicketstuff.select2.Response in project Parse-SDK-Android by ParsePlatform.
the class ParseOkHttpClient method executeInternal.
@Override
/* package */
ParseHttpResponse executeInternal(ParseHttpRequest parseRequest) throws IOException {
Request okHttpRequest = getRequest(parseRequest);
Call okHttpCall = okHttpClient.newCall(okHttpRequest);
Response okHttpResponse = okHttpCall.execute();
return getResponse(okHttpResponse);
}
use of org.wicketstuff.select2.Response in project BigImageViewer by Piasy.
the class GlideProgressSupport method createInterceptor.
private static Interceptor createInterceptor(final ResponseProgressListener listener) {
return new Interceptor() {
@Override
public Response intercept(Chain chain) throws IOException {
Request request = chain.request();
Response response = chain.proceed(request);
return response.newBuilder().body(new OkHttpProgressResponseBody(request.url(), response.body(), listener)).build();
}
};
}
use of org.wicketstuff.select2.Response in project sonarqube by SonarSource.
the class CeHttpServerTest method action_is_matched_on_URL_ignoring_case.
@Test
public void action_is_matched_on_URL_ignoring_case() throws IOException {
Response response = call(underTest.getUrl() + "/pOMpoM");
assertIsPomPomResponse(response);
}
use of org.wicketstuff.select2.Response in project sonarqube by SonarSource.
the class CeHttpServerTest method action_is_matched_on_URL_with_parameters.
@Test
public void action_is_matched_on_URL_with_parameters() throws IOException {
Response response = call(underTest.getUrl() + "/pompom?toto=2");
assertIsPomPomResponse(response);
}
use of org.wicketstuff.select2.Response in project sonarqube by SonarSource.
the class CeHttpServerTest method action_is_matched_on_exact_URL.
@Test
public void action_is_matched_on_exact_URL() throws IOException {
Response response = call(underTest.getUrl() + "/pompom");
assertIsPomPomResponse(response);
}
Aggregations