public void writeStartFeed ( String requestContextURL , Map < String , Object > meta ) throws ODataRenderException { this . contextURL = checkNotNull ( requestContextURL ) ; try { startFeed ( false ) ; if ( ODataUriUtil . hasCountOption ( oDataUri ) && meta != null && meta . containsKey ( "count" ) ) { metadataWriter . writeCount ( meta . get ( "count" ) ) ; } metadataWriter . writeFeedId ( null , null ) ; metadataWriter . writeTitle ( ) ; metadataWriter . writeUpdate ( dateTime ) ; metadataWriter . writeFeedLink ( null , null ) ; } catch ( XMLStreamException | ODataEdmException e ) { LOG . error ( "Not possible to marshall feed stream XML" ) ; throw new ODataRenderException ( "Not possible to marshall feed stream XML: " , e ) ; } }
Write start feed to the XML stream .