Element context = mTransport.getZimbraContext(); if (context != null) { Element refresh = context.getOptionalElement(ZimbraNamespace.E_REFRESH); if (refresh != null) refreshHandler(refresh); }
handleResponseContext(mTransport.getZimbraContext());
    synchronized Element invoke(Element request) throws ServiceException {        try {            return mTransport.invoke(request);        } catch (SoapFaultException e) {            throw e; // for now, later, try to map to more specific exception        } catch (IOException e) {            throw SoapFaultException.IO_ERROR("invoke "+e.getMessage(), e);        } finally {            // handle refresh blocks            Element context = mTransport.getZimbraContext();            if (context != null) {                Element refresh = context.getOptionalElement(ZimbraNamespace.E_REFRESH);                if (refresh != null) refreshHandler(refresh);            }        }    }