Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 249071 Details for
Bug 453805
response.getOutputStream().write() hangs forever if client doesn't consume the response
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Client class
JettyClient.java (text/x-java), 557 bytes, created by
Benjamin Jaton
on 2014-12-01 12:49:30 EST
(
hide
)
Description:
Client class
Filename:
MIME Type:
Creator:
Benjamin Jaton
Created:
2014-12-01 12:49:30 EST
Size:
557 bytes
patch
obsolete
>import java.io.IOException; > >import org.apache.http.HttpResponse; >import org.apache.http.client.ClientProtocolException; >import org.apache.http.client.HttpClient; >import org.apache.http.client.methods.HttpGet; >import org.apache.http.impl.client.DefaultHttpClient; > >public class JettyClient { > > public static void main(String[] args) throws ClientProtocolException, > IOException, InterruptedException { > HttpClient client = new DefaultHttpClient(); > HttpGet get = new HttpGet("http://localhost:8080/"); > HttpResponse response = client.execute(get); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 453805
:
249070
| 249071 |
249073
|
251437