A lightweight Java library designed to implement the UPnP protocol and handle port mappings on Gateway Devices.
You can find more information on the library at the project website: http://bitletorg.github.io/weupnp/
If you use Maven, you can start using weupnp by including the following dependency:
<dependency>
<groupId>org.bitlet</groupId>
<artifactId>weupnp</artifactId>
<version>0.1.3</version>
</dependency>