How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.
How to create tiny HTTP server in Java
How to create tiny HTTP server in Java using ServerSocket class.
GET/POST request with Apache HttpClient
GET/POST request tutorial using Apache HttpClient. The tutorial is using httpbin.org test server.
How to get input from Java Console
How to get input from Java Console. Examples using System.console
, Scanner
and BufferedReader
+ InputStreamReader
.
Client Server Socket example in Java
Client Server Socket example in Java. Client example reading the input from the console. Simple echo server example.
Search
Other Posts
Follow Us On