Hello Jeroen, > I need a tool (HttpClient?) to parse a String representation of a > request and a response like exampled below into an object > representation, so not actually perform the request (or response).
Please have a look at HttpCore (HttpComponents-Core base module): http://jakarta.apache.org/httpcomponents/httpcomponents-core/ http://jakarta.apache.org/httpcomponents/httpcomponents-core/httpcore/apidocs/index.html It has separate parser components. You can either try to use the parser components directly, or you can implement a fake "connection" that works only for receiving and uses the string representations instead of opening a socket. While it has stabilized recently, the core API is still alpha. If you find roadblocks for your use case, you can suggest changes to the API. hope that helps, Roland
smime.p7s
Description: S/MIME Cryptographic Signature