You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/06/11 21:37:40 UTC
[commons-fileupload] 02/02: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git
commit 50796d31f9d63c0f4f03e65404d01bd00c9ef438
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 11 17:37:34 2023 -0400
Javadoc
---
.../main/java/org/apache/commons/fileupload2/RequestContext.java | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/RequestContext.java b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/RequestContext.java
index ca87751..6e07f9a 100644
--- a/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/RequestContext.java
+++ b/commons-fileupload2-core/src/main/java/org/apache/commons/fileupload2/RequestContext.java
@@ -39,10 +39,10 @@ public interface RequestContext {
String getCharacterEncoding();
/**
- * Gets the character encoding for the request.
+ * Gets the character encoding for the request or null if unspecified.
*
- * @return The character encoding for the request.
- * @throws UnsupportedCharsetException If the named charset is unavailable (unchecked exception).
+ * @return The character encoding for the request or null.
+ * @throws UnsupportedCharsetException If the named Charset is unavailable.
*/
default Charset getCharset() throws UnsupportedCharsetException {
return Charsets.toCharset(getCharacterEncoding(), null);
@@ -66,7 +66,6 @@ public interface RequestContext {
* Gets the input stream for the request.
*
* @return The input stream for the request.
- *
* @throws IOException if a problem occurs.
*/
InputStream getInputStream() throws IOException;