Skip to content

Instantly share code, notes, and snippets.

View bohnman's full-sized avatar

Ryan Bohn bohnman

View GitHub Profile
@bohnman
bohnman / UriUtil.java
Created November 14, 2012 19:48
Wraps Spring's UriUtils with the assumption that we're using UTF-8
import org.springframework.web.util.UriUtils;
import java.io.UnsupportedEncodingException;
public class UriUtil {
private static final String ENCODING = "UTF-8";
private UriUtil() {