This commit is contained in:
Phillip Webb
2013-10-25 11:43:13 -07:00
parent 8bd480441e
commit 12e896ed8b
7 changed files with 30 additions and 50 deletions

View File

@@ -28,17 +28,19 @@ import java.lang.annotation.Target;
* environments.
*
* @author Arjen Poutsma
* @since 3.0
* @see RequestMapping
* @see org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
* @see org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter
* @since 3.0
*/
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface PathVariable {
/** The URI template variable to bind to. */
/**
* The URI template variable to bind to.
*/
String value() default "";
}

View File

@@ -248,7 +248,7 @@ public class UriComponentsBuilder {
throw new IllegalArgumentException("[" + httpUrl + "] is not a valid HTTP URL");
}
}
// build methods
@@ -398,7 +398,7 @@ public class UriComponentsBuilder {
}
return this;
}
/**
* Set the URI scheme-specific-part. When invoked, this method overwrites
* {@linkplain #userInfo(String) user-info}, {@linkplain #host(String) host},