org.springframework.web.client
Class RestTemplate.HttpUrlTemplate

java.lang.Object
  extended by org.springframework.web.util.UriTemplate
      extended by org.springframework.web.client.RestTemplate.HttpUrlTemplate
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RestTemplate

private static class RestTemplate.HttpUrlTemplate
extends UriTemplate

HTTP-specific subclass of UriTemplate, overriding the encode method.


Constructor Summary
RestTemplate.HttpUrlTemplate(java.lang.String uriTemplate)
           
 
Method Summary
protected  java.net.URI encodeUri(java.lang.String uri)
          Encodes the given String as URL.
 
Methods inherited from class org.springframework.web.util.UriTemplate
expand, expand, getVariableNames, match, matches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestTemplate.HttpUrlTemplate

public RestTemplate.HttpUrlTemplate(java.lang.String uriTemplate)
Method Detail

encodeUri

protected java.net.URI encodeUri(java.lang.String uri)
Description copied from class: UriTemplate
Encodes the given String as URL.

Defaults to UriUtils.encodeUri(String, String).

Overrides:
encodeUri in class UriTemplate
Parameters:
uri - the URI to encode
Returns:
the encoded URI