code: protected Response getResponse(Object connection, Object responseObject) throws IOException {
          Response response = new Response();
          response.setObject(responseObject);
          response.setContent(externalResponseToString(responseObject));
          return response;
      }
docs: Override to set protocol response status/message.