src/main/java/com/aoindustries/encoding/servlet/HttpServletResponseEncodingContext.java
@Override
	public String encodeURL(String href) throws UnsupportedEncodingException {
		return response.encodeURL(
			UrlUtils.encodeUrlPath(
				href,
				response.getCharacterEncoding()
			)
		);
	}
@Override
	public String encodeURL(String href) throws UnsupportedEncodingException {
		return response.encodeURL(
			UrlUtils.encodeUrlPath(
				href,
				response.getCharacterEncoding()
			)
		);
	}
@ Override public String encodeURL ( String href ) throws UnsupportedEncodingException { return response . encodeURL ( UrlUtils . encodeUrlPath ( href , response . getCharacterEncoding ( ) ) ) ; }
Encodes the URL by:
<ol>
<li>Encoding the path elements with the current response character encoding.</li>
<li>Calling response.encodeURL()</li>
</ol>
@see  UrlUtils#encodeUrlPath(java.lang.String, java.lang.String)
@see  HttpServletResponse#encodeRedirectURL(java.lang.String)
Encodes the URL by : <ol > <li > Encoding the path elements with the current response character encoding . < / li > <li > Calling response . encodeURL () < / li > < / ol >