code: public static <T, E> AtomFeedParser<T, E> create(
        HttpResponse response,
        XmlNamespaceDictionary namespaceDictionary,
        Class<T> feedClass,
        Class<E> entryClass)
        throws IOException, XmlPullParserException {
      InputStream content = response.getContent();
      try {
        Atom.checkContentType(response.getContentType());
        XmlPullParser parser = Xml.createParser();
        parser.setInput(content, null);
        AtomFeedParser<T, E> result =
            new AtomFeedParser<T, E>(namespaceDictionary, parser, content, feedClass, entryClass);
        content = null;
        return result;
      } finally {
        if (content != null) {
          content.close();
        }
      }
    }
docs: Parses the given HTTP response using the given feed class and entry class.
  
  @param <T> feed type
  @param <E> entry type
  @param response HTTP response
  @param namespaceDictionary XML namespace dictionary
  @param feedClass feed class
  @param entryClass entry class
  @return Atom feed parser
  @throws IOException I/O exception
  @throws XmlPullParserException XML pull parser exception