How can I create an empty dummy HttpResponse

Posted by jax on Stack Overflow See other posts from Stack Overflow or by jax
Published on 2010-06-08T11:13:46Z Indexed on 2010/06/08 11:22 UTC
Read the original article Hit count: 225

Filed under:

I am using org.apache.http.HttpResponse

I want to create an empty dummy resposne, I am going to use this to return when errors occur instead of passing back null.

I tried to create one and it has lost of weird params. Can someone tell me how to create one.

© Stack Overflow or respective owner

Related posts about java