223224225226227228229230231232233
*/ public ResponseParser getParser() { if (this.isJson()) { return new JsonResponseParser(); } else if (this.isXml()) { return new XmlResponseParser(); } throw new UnsupportedOperationException(this.contentType + " not a supported content type"); }