GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Decodo/java at master · Decodo/Decodo

Expand file tree

/

java

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

java

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
java.java
java.java
 
 

README.md

Outline

Main Repository

Disclaimer

To continue further development with Java, make sure to read their documentation.

Prerequisites

To run the following code example, you'll need Java, the Java SE Runtime Environment (JRE) and an IDE set up on your machine:

  • Java
  • Java SE Runtime Environment 8
  • Eclipse

You should also have a Decodo account with access to the dashboard to get your credentials and endpoint information.

Installation

This particular code was built using Eclipse.

If you choose to run the code using a different method or want to execute the script with the javac command, you may need to install the Server JRE.

  1. Create a project folder by running the following command in your Terminal tool:
mkdir java_example
  1. Navigate to the main directory of your project folder using cd java_example.
  2. Copy the code directly from here, or execute the following command to download the proxy setup example file:
curl https://raw.githubusercontent.com/Decodo/Decodo/master/java/java.java > java.java
image
  1. You should see a new file named java.java in your project folder. Open it using an editor of your choice.

Configuration

To run this Java example, set your username, password, and endpoint information you'd like to use and enter them in the following sections of the code:

image

Usage

You should see an IP address in the console window if everything was set up correctly:

Note: If you're targeting HTTPS, the Basic Authentication scheme in some setups may not work (error: "HTTP/1.1 407 Proxy Authentication Required"). You can solve this issue by proxying HTTP, changing the authentication scheme of the proxy to Digest Authentication, or disabling Basic Authentication for HTTPS tunneling by setting the system property to "" (blank) when running the code:

java -Djdk.http.auth.tunneling.disabledSchemes="" java.java

Need help?

Email - [email protected]

Live chat 24/7

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.