Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5682

Re: Aw: Re: Aw: Re: HTTP traffic over a custom proxy server?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail
From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: Aw: Re: Aw: Re: HTTP traffic over a custom proxy server?
Date Sun, 26 Jun 2011 14:05:00 -0400
Organization albasani.net
Lines 26
Message-ID <iu7sc8$ka8$2@news.albasani.net> (permalink)
References <c1091835-255d-4d29-b0b3-d6045c31fbf9@glegroupsg2000goo.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.albasani.net C6JxFHmzXcVqnNpdTfR9hEtEwgecpGQsjiPxw5uIntji0VR+zSpVfR2wPWnOwSu+4jtL9S32ITeG9gCsCpL57jvq3HarFByZjjwOvQyQ6lN1Z7MdSvpmpsBGuvAidOtg
NNTP-Posting-Date Sun, 26 Jun 2011 18:04:56 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="jSVyGnfc/J4XQDubpykxuUzhiz4vqr2OUpqRDUWM81WecO7mdXwOr4dawt+hsJuZCQ5e1JOKoOWXegbqhkBIoG4gzciTY8A3VHeK+TRYbQHhSIJf00sgdL9lQ+Bm7+eR"; mail-complaints-to="abuse@albasani.net"
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
In-Reply-To <c1091835-255d-4d29-b0b3-d6045c31fbf9@glegroupsg2000goo.googlegroups.com>
Cancel-Lock sha1:7G5bXX+ynxWMn7mIqilqVP4kr1Q=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5682

Show key headers only | View raw


On 06/24/2011 09:01 AM, Knorpi wrote:
> The htmlunit tip is great!
>
> HtmlPage page = webClient.getPage(myURL);
>
> This delivers the whole page, fine parsed with the DOM structure.
>
> So I assume I can do the following things now:
>
> - change all URLs in the document
> - return the page content as a raw byte stream to the client
>
> Well, page.asXml() delivers an XML stream, which is shown as XML code by the browser.
>
> I also didn't find anything in the docs.
>
> Could you point me into the right direction?
>

The right direction is to stop using Google Groups in such a way that it 
breaks the conversational thread.

-- 
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

Aw: Re: Aw: Re: HTTP traffic over a custom proxy server? Knorpi <alpineblaster@googlemail.com> - 2011-06-24 06:01 -0700
  Re: Aw: Re: Aw: Re: HTTP traffic over a custom proxy server? Lew <noone@lewscanon.com> - 2011-06-26 14:05 -0400

csiph-web