public Response(final String status,final String mimeType,final String txt){
  this.status=status;
  this.mimeType=mimeType;
  this.data=new ByteArrayInputStream(txt == null ? new byte[]{} : txt.getBytes());
}

public Response ( final String status , final String mimeType , final String txt ) { this . status = status ; this . mimeType = mimeType ; this . data = new ByteArrayInputStream ( txt == null ? new byte [ ] { } : txt . getBytes ( ) ) ; }
convenience method that makes an inputstream out of given text .
