rpi-rest provides a REST interface for the Raspberry Pi GPIO with SmartThings integration. The REST interface is written in Java and leverages the Spring Framework and The Pi4J Project. A SmartApp and DeviceHandler provide the integration between the SmartThings app on your phone and the REST interface running on the Raspberry Pi. The REST interface can be used without SmartThings, but the SmartThings integration requires the REST interface.
Read more here.