use of org.forgerock.http.client.response.HttpClientResponse in project OpenAM by OpenRock.
the class RestletHttpClient method perform.
private HttpClientResponse perform(HttpClientRequest httpClientRequest) throws UnsupportedEncodingException {
Request request = createRequest(httpClientRequest);
Client client = new Client(Protocol.HTTP);
Response response = new Response(request);
client.handle(request, response);
return createHttpClientResponse(response);
}
Aggregations