Skip to content
Philip Helger edited this page Apr 8, 2026 · 1 revision

URL-related classes: data model, building, encoding, validation and protocol registry.

Highlights:

  • SimpleURL - mutable URL representation (lighter weight than java.net.URL)
  • ReadOnlyURL - immutable URL wrapper
  • ISimpleURL - URL interface
  • URLParameterEncoder / URLParameterDecoder / URLCoder - URL encoding/decoding
  • EURLProtocol - URL protocol enum (HTTP, HTTPS, FTP, FILE, etc.)
  • URLProtocolRegistry - extensible protocol registry
  • URLValidator - URL validation

Maven usage

Add the following to your pom.xml to use this artifact:

<dependency>
  <groupId>com.helger.commons</groupId>
  <artifactId>ph-url</artifactId>
  <version>x.y.z</version>
</dependency>

Clone this wiki locally