public String makeResponseCtx ( ResponseCtx resCtx ) { ByteArrayOutputStream response = new ByteArrayOutputStream ( ) ; resCtx . encode ( response , new Indenter ( ) ) ; return new String ( response . toByteArray ( ) ) ; }
Converst a ResponseCtx object to its string representation .