parent
							
								
									31c6965c7f
								
							
						
					
					
						commit
						19704805fd
					
				|  | @ -146,7 +146,7 @@ public class PathResourceResolver extends AbstractResourceResolver { | |||
| 
 | ||||
| 	/** | ||||
| 	 * Perform additional checks on a resolved resource beyond checking whether the | ||||
| 	 * resources exist and is readable. The default implementation also verifies | ||||
| 	 * resource exists and is readable. The default implementation also verifies | ||||
| 	 * the resource is either under the location relative to which it was found or | ||||
| 	 * is under one of the {@link #setAllowedLocations allowed locations}. | ||||
| 	 * @param resource the resource to check | ||||
|  |  | |||
|  | @ -225,7 +225,7 @@ public abstract class RequestMappingInfoHandlerMapping extends AbstractHandlerMe | |||
| 
 | ||||
| 
 | ||||
| 		/** | ||||
| 		 * Whether there is any partial matches. | ||||
| 		 * Whether there are any partial matches. | ||||
| 		 */ | ||||
| 		public boolean isEmpty() { | ||||
| 			return this.partialMatches.isEmpty(); | ||||
|  |  | |||
|  | @ -297,10 +297,10 @@ public class RedirectView extends AbstractUrlBasedView { | |||
| 	/** | ||||
| 	 * Whether the given targetUrl has a host that is a "foreign" system in which | ||||
| 	 * case {@link javax.servlet.http.HttpServletResponse#encodeRedirectURL} will not be applied. | ||||
| 	 * This method returns {@code true} if the {@link #setHosts(String[])} | ||||
| 	 * <p>This method returns {@code true} if the {@link #setHosts(String[])} | ||||
| 	 * property is configured and the target URL has a host that does not match. | ||||
| 	 * @param targetUrl the target redirect URL | ||||
| 	 * @return {@code true} the target URL has a remote host, {@code false} if | ||||
| 	 * @return {@code true} if the target URL has a remote host, {@code false} if | ||||
| 	 * the URL does not have a host or the "host" property is not configured | ||||
| 	 */ | ||||
| 	protected boolean isRemoteHost(String targetUrl) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue