hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marko Asplund <marko.aspl...@gmail.com>
Subject Intercepting and responding to requests on client-side
Date Sat, 01 Jun 2013 12:37:13 GMT
Hi,

I'd like to be able to intercept requests targeted for certain
endpoints issued by HttpClient and implement a custom handler for
those requests. The handler should be able to generate a response for
the requests on the client-side without actually connecting to a
remote server.

Is this possible with HttpClient?
I've looked at HttpRequestInterceptor and HttpResponseInterceptor
APIs, but these interceptors don't seem to be able to generate the
actual response.

marko

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message