Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
098392d7
Commit
098392d7
authored
Jul 06, 2015
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3414 from JamieFarrelly/patch-1
* pr/3414: Clarify MultipartConfigFactory javadoc
parents
155f04ef
205f6d92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
MultipartConfigFactory.java
...amework/boot/context/embedded/MultipartConfigFactory.java
+5
-5
No files found.
spring-boot/src/main/java/org/springframework/boot/context/embedded/MultipartConfigFactory.java
View file @
098392d7
...
...
@@ -22,8 +22,8 @@ import org.springframework.util.Assert;
/**
* Factory that can be used to create a {@link MultipartConfigElement}. Size values can be
* set using traditional {@literal long} values
or using more readable {@literal String}
* variants that accept KB or MB suffixes, for example:
* set using traditional {@literal long} values
which are set in bytes or using more
*
readable {@literal String}
variants that accept KB or MB suffixes, for example:
*
* <pre class="code">
* factory.setMaxFileSize("10Mb");
...
...
@@ -51,7 +51,7 @@ public class MultipartConfigFactory {
}
/**
* Sets the maximum size allowed for uploaded files.
* Sets the maximum size
in bytes
allowed for uploaded files.
* @param maxFileSize the maximum file size
* @see #setMaxFileSize(String)
*/
...
...
@@ -70,7 +70,7 @@ public class MultipartConfigFactory {
}
/**
* Sets the maximum size allowed for multipart/form-data requests.
* Sets the maximum size allowed
in bytes
for multipart/form-data requests.
* @param maxRequestSize the maximum request size
* @see #setMaxRequestSize(String)
*/
...
...
@@ -89,7 +89,7 @@ public class MultipartConfigFactory {
}
/**
* Sets the size threshold after which files will be written to disk.
* Sets the size threshold
in bytes
after which files will be written to disk.
* @param fileSizeThreshold the file size threshold
* @see #setFileSizeThreshold(String)
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment