Skip to content

Commit 40ed4e7

Browse files
committed
Make UriComponents Serializable
Issue: SPR-10186
1 parent d3f4528 commit 40ed4e7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-web/src/main/java/org/springframework/web/util/UriComponents.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2012 the original author or authors.
2+
* Copyright 2002-2013 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,6 +16,7 @@
1616

1717
package org.springframework.web.util;
1818

19+
import java.io.Serializable;
1920
import java.io.UnsupportedEncodingException;
2021
import java.net.URI;
2122
import java.util.Arrays;
@@ -38,7 +39,7 @@
3839
* @since 3.1
3940
* @see UriComponentsBuilder
4041
*/
41-
public abstract class UriComponents {
42+
public abstract class UriComponents implements Serializable {
4243

4344
private static final String DEFAULT_ENCODING = "UTF-8";
4445

0 commit comments

Comments
 (0)