content.sendBuffer(facesContext, response);
content.sendBuffer(facesContext);
    public void service(FacesContext facesContext, String commandId) {        Map parameters = facesContext.getExternalContext()                .getRequestParameterMap();        String componentId = (String) parameters.get("id");        if (componentId == null) {            AbstractHtmlService.sendJsError(facesContext,                    "Can not find 'id' parameter.");            return;        }        UIViewRoot viewRoot = facesContext.getViewRoot();        UIComponent component = ComponentTools.getForComponent(facesContext,                componentId, viewRoot);        if (component == null) {            AbstractHtmlService.sendJsError(facesContext,                    "Can not find component '" + componentId + "'.");            return;        }        if ((component instanceof IAsyncRenderComponent) == false) {            AbstractHtmlService.sendJsError(facesContext,                    "Can not find AsyncRenderComponent (id='" + componentId                            + "').");            return;        }        Object object = component.getAttributes().remove(INTERACTIVE_KEY);        if ((object instanceof InteractiveBuffer) == false) {            AbstractHtmlService.sendJsError(facesContext,                    "Object is not ready ! (id='" + componentId + "').");            return;        }        InteractiveBuffer content = (InteractiveBuffer) object;        if (content == null) {            AbstractHtmlService.sendJsError(facesContext,                    "No content for component id='" + componentId + "'.");            return;        }        ServletResponse response = (ServletResponse) facesContext                .getExternalContext().getResponse();        AbstractHtmlService.setNoCache(response);        response.setContentType(IHtmlRenderContext.HTML_TYPE + "; charset="                + AbstractHtmlService.RESPONSE_CHARSET);        try {            content.sendBuffer(facesContext, response);        } catch (IOException ex) {            throw new FacesException(                    "Can not write async content of component id='"                            + componentId + "'.", ex);        }        facesContext.responseComplete();    }