uint32 HttpParsingBasicObject::saveOutputData(RefCountHTTPEntityUnit &entityUnit, OUTPUT_DATA_QUEUE &aOutputData)
{
    uint32 size = 0;
    for (uint32 i = 0; i < entityUnit.getEntityUnit().getNumFragments(); i++)
    {
        OsclRefCounterMemFrag memfrag;
        entityUnit.getEntityUnit().getMemFrag(i, memfrag);
        int32 err = 0;
        OSCL_TRY(err, aOutputData.push_back(memfrag););
        if (err) return 0xFFFFFFFF;
        size += memfrag.getMemFragSize();
    }
bool HttpParsingBasicObject::saveOutputData(RefCountHTTPEntityUnit &entityUnit, OUTPUT_DATA_QUEUE &aOutputData, uint32 &aTotalEntityDataSize)
{
    aTotalEntityDataSize = 0;
    int32 err = 0;
    OSCL_TRY(err,
             for (uint32 i = 0; i < entityUnit.getEntityUnit().getNumFragments(); i++)
{
    OsclRefCounterMemFrag memfrag;
    entityUnit.getEntityUnit().getMemFrag(i, memfrag);
        aOutputData.push_back(memfrag);
        aTotalEntityDataSize += memfrag.getMemFragSize();
    }
            );