Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DE1AE200B51 for ; Mon, 1 Aug 2016 16:21:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB1D0160A6C; Mon, 1 Aug 2016 14:21:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2F94D160A66 for ; Mon, 1 Aug 2016 16:21:17 +0200 (CEST) Received: (qmail 17280 invoked by uid 500); 1 Aug 2016 14:21:16 -0000 Mailing-List: contact dev-help@openmeetings.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openmeetings.apache.org Delivered-To: mailing list dev@openmeetings.apache.org Received: (qmail 17267 invoked by uid 99); 1 Aug 2016 14:21:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2016 14:21:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9CDC41A5DEF for ; Mon, 1 Aug 2016 14:21:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.449 X-Spam-Level: * X-Spam-Status: No, score=1.449 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id dXG-AQPbE9Rz for ; Mon, 1 Aug 2016 14:21:13 +0000 (UTC) Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 669AD5FAFA for ; Mon, 1 Aug 2016 14:21:13 +0000 (UTC) Received: by mail-qk0-f172.google.com with SMTP id p74so146460434qka.0 for ; Mon, 01 Aug 2016 07:21:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=KI6ii5aeeIQCDnfh2OOQdsy4PjS7q3FEHe68YxYfHm8=; b=IjqobpqcIOKju7tKHcaA+EFUWtFurSrYDREdQj7l7YJxfJdxM3SA7KTnAraVPj1wj0 a4kDVCzAwkaXjzNUO3ppmpIavkJ4bPepd9zcnkNiZeHnqwgj6F8l3o1w2KAVGGt2SGPB NvincgPHsiSRdHNxIgDWM+l+FNwgfXrwmZNmIJz1IwJu08oKvzbfUgOqPiz48wz9rkLT 8DDODhNxC4N9QMI7kwdx3BFbiHO3XEcP2UOdUxFSIsGJnhvPFB7s/Ver36Pb9i5Yg3wZ kQRTyVa27NzDO5vp8N9bR1K4+z/O3hF3D4puYZfK3sHA3f//PuTLfG6Va6naOZivhtw2 hVRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=KI6ii5aeeIQCDnfh2OOQdsy4PjS7q3FEHe68YxYfHm8=; b=U37SsjqMMJ+NBfGmpe2udhw001RWtyTHSIoqeCimKugHrYvXE1F+y/SNTnlDQfFnG/ aUjK9NzFccxIhSlvQIy4XDlx8inIdu2phbyxdLRF0oHuWrclHEys3xHDO9zCsZo7eiA/ HdPBGO8tpyS0zzruBbBkrYnoY/OEqdVIKqCK9uMs86tWpSOFIeEOWcdiCgtpqAMm/xMs ubEWzlWxXif19oGcrmif15x/esemUzQFkwt6vM8vqFgEtmkMSnq6UIOuRygyaEjHQKqr aLp5UV/ocmXHMKBMVd8I0ZNmqrSmk/gXZZLa5Xvne6Dy0sFtocYmEV73T9K396+BmpZY 8ZWg== X-Gm-Message-State: AEkoouuUqS169339DzAaAICdYxOtTXD+rdKsdPDio1F+9GHig4WV186OH39Hsi2VoqFU7M63rsfsvQCFRAL6PQ== X-Received: by 10.55.7.14 with SMTP id 14mr66294843qkh.135.1470061273050; Mon, 01 Aug 2016 07:21:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.44.77 with HTTP; Mon, 1 Aug 2016 07:21:12 -0700 (PDT) In-Reply-To: References: From: Maxim Solodovnik Date: Mon, 1 Aug 2016 21:21:12 +0700 Message-ID: Subject: Re: AppointmentManager Client State clarification To: Ankush Mishra Cc: dev , Sebastian Wagner Content-Type: multipart/alternative; boundary=001a114c843afa761d0539034fbe archived-at: Mon, 01 Aug 2016 14:21:18 -0000 --001a114c843afa761d0539034fbe Content-Type: text/plain; charset=UTF-8 If I were you I would create final field for the client (if it is serializable) On Fri, Jul 22, 2016 at 8:08 PM, Ankush Mishra wrote: > Hey Maxim, Sebastian, > > Just a small thing, should I keep the HTTPClient object in the memory for > the whole page until say, the CalendarPanel is removed or should I just > have the client for the period of the syncing? > > Keeping the Client until would store the credentials in the memory for > that period. So, the initial sync would require the user to enter the > credentials, but for the subsequent syncs, the credentials don't need to be > entered. But, if we don't then the credentials would be required to be > entered multiple times while the Panel is open, but the credentials would > not reside in the memory. > > > -- > Ankush Mishra > > -- WBR Maxim aka solomax --001a114c843afa761d0539034fbe--