Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 072701062E for ; Wed, 12 Jun 2013 15:45:49 +0000 (UTC) Received: (qmail 66770 invoked by uid 500); 12 Jun 2013 15:45:46 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 66572 invoked by uid 500); 12 Jun 2013 15:45:45 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 66463 invoked by uid 99); 12 Jun 2013 15:45:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 15:45:44 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [76.96.62.96] (HELO qmta09.westchester.pa.mail.comcast.net) (76.96.62.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jun 2013 15:45:38 +0000 Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11]) by qmta09.westchester.pa.mail.comcast.net with comcast id nQm31l00B0EZKEL59TkwqB; Wed, 12 Jun 2013 15:44:56 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.106.98]) by omta01.westchester.pa.mail.comcast.net with comcast id nTkw1l00X27QCxh3MTkwCr; Wed, 12 Jun 2013 15:44:56 +0000 Message-ID: <51B8977A.6090103@christopherschultz.net> Date: Wed, 12 Jun 2013 11:44:58 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: [Bug 55006] Add http proxy support for ClientEndpoint using system properties References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2GDNPNMRFREBTAVXNCUXQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1371051896; bh=46kSeqUGlbBbtS78L5xcVUeo+NtgfydP3X5w17td+gA=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=RwTrS31EypkJHrcl0Jah1bvkQrBYIz6JI5dJPV/9v80FYoddYXZ3kn/9F+viglc+1 39gHgLAZSb/wgmYahjM+5RtDPSeJ8HFQRvBFOEsAav5ymUp4J3+4feITVTON4Vn9Ap RymYvKzUgysk0wPeWGQ+xbeME+Q6QtAv0l/5dxvZqwxnby42WgYePKeCOPeI6XLr9i TdDRBu7da8G1Q2joNZXxSEXY3t7epcOJC4LZXyPk1F6tizdnhl8GK+c/u1Y6QTX0Rv 1JY3lqAy7rArx9I0XqOo35ohg9QThjvqdhexuyEEGmtTiWR6qLuhzWL+hBEmwWk9jt urrJB9gNy9UpA== X-Virus-Checked: Checked by ClamAV on apache.org ------enig2GDNPNMRFREBTAVXNCUXQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Niki, Perhaps you should put some of this discussion into the Bugzilla issue so it can be tracked more easily by anyone interested in the progress. -chris On 6/4/13 1:55 AM, Niki Dokovski wrote: > On Tue, Jun 4, 2013 at 12:01 AM, Rossen Stoyanchev < > rstoyanchev@gopivotal.com> wrote: >=20 >> On Mon, Jun 3, 2013 at 10:27 AM, Niki Dokovski wro= te: >> >>> On Mon, Jun 3, 2013 at 3:44 PM, Niki Dokovski >> wrote:Further >>> on, if you choose to use connectToServer call that has the >>> ClientEndpointConfig param you are losing the annotation approach as = the >>> first param of this call has to be an instance of an Endpoint. Hence = your >>> class can not be just annotated. hmmm Mark where can we bring this >>> discussion? >> >> >> This is not very obvious from the API but ClientEndpointConfig (and >> ServerEndpointConfig) are not meant to be used with annotated endpoint= s. In >> other words, I think the methods accepting those types are for use wit= h >> type-based endpoints (i.e. javax.websocket.Endpoint). So as far as I c= an >> see user properties can be updated before the session starts only for >> type-based endpoints. >> >=20 > Exactly, What is the rationale behind this? > Still an annotated endpoint can supply > javax.websocket.ClientEndpointConfig.Configurator > but has no access to the user properties from there. May be the > javax.websocket.ClientEndpointConfig.Configurator > can be extended to provide access to the map. >=20 > cheers >=20 >=20 >> >> Rossen >> >=20 ------enig2GDNPNMRFREBTAVXNCUXQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRuJd6AAoJEBzwKT+lPKRY0ekP/1OVMQrA+bNDDsaJFgf8vJ8q SaHsJo5jIz1Ivu4j+uwHPOw0nAVkEwyqg0dRXJVaCleMXnyGdMA/A48n4RT5L4rs sZit3wEhsM11VYKN+OqVB2ffnmfDoz6gkgKwnKnAAy1sjVLY3g53SpjVIwQWlynZ q7TGgQLrgqJ6On8TpOMGCidHcFC4TSQKmhWY6zZLxafoPZdjfMnwkGaiVlXshnvP TBTnoP2g0tM0A2whX+75rwPoiw0J1+08o/9nnqIs6crUGy/G42U0Poh8i4GjKYXT jBBpkL2I7IOSrUcsCrBekZgtTgGakhREVYRXZYRkrpdXGj5Jyp4X8S4MUuplBON8 kX0kUMz8plFakjBIpAj4wP+TBP18CfwooPMOC60ocPCiJ7kp43Jd+FN72NqZ/EVx w2kjWXuenW8556GWZvZWxXBm2QwVkzeuNh9H9THjUl9IS+gWbOeahkJzdXHB7Aoo eu8+MmN+zsJks9/yVGtGpzyAac2Hpmvipxyj/Rzwr+ivKEEU/JFfqrceLo0zJ2Dr ffvzkxHk9Fsdcr3BMLbjJ1rkJ0T0akkLVrEw+fsWOPWCXp2eGqvIw9AP3yWcACUI YYTRNtl2BPOqLZT7AOsL0f0dh52rAM63uaSX1BdwACXH8edk0sCifd2Mq2SpQ7Iq /7xXGKo19fsa8tBmu2uY =GlfQ -----END PGP SIGNATURE----- ------enig2GDNPNMRFREBTAVXNCUXQ--