-
Notifications
You must be signed in to change notification settings - Fork 190
Enable multipart/related on FileUpload #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
fb332ce
6e4e9eb
148bfaf
96e3573
9945131
8cc58eb
76a84fa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,4 +68,13 @@ public InputStream getInputStream() throws IOException { | |
| return getRequest().getInputStream(); | ||
| } | ||
|
|
||
| /** | ||
| * Is the Request of type <code>multipart/related</code>? | ||
| * | ||
| * @return the Request is of type <code>multipart/related</code> | ||
| */ | ||
| @Override | ||
|
||
| public boolean isMultipartRelated() { | ||
| return isMultipartRelated(getRequest().getContentType()); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,4 +68,13 @@ public InputStream getInputStream() throws IOException { | |
| return getRequest().getInputStream(); | ||
| } | ||
|
|
||
| /** | ||
| * Is the Request of type <code>multipart/related</code>? | ||
| * | ||
| * @return the Request is of type <code>multipart/related</code> | ||
| */ | ||
|
||
| @Override | ||
| public boolean isMultipartRelated() { | ||
| return isMultipartRelated(getRequest().getContentType()); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,4 +68,13 @@ public InputStream getInputStream() throws IOException { | |
| return getRequest().getInputStream(); | ||
| } | ||
|
|
||
| /** | ||
| * Is the Request of type <code>multipart/related</code>? | ||
| * | ||
| * @return the Request is of type <code>multipart/related</code> | ||
| */ | ||
| @Override | ||
|
||
| public boolean isMultipartRelated() { | ||
| return isMultipartRelated(getRequest().getContentType()); | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -68,4 +68,13 @@ public InputStream getInputStream() throws IOException { | |
| return getRequest().getPortletInputStream(); | ||
| } | ||
|
|
||
| /** | ||
| * Is the Request of type <code>multipart/related</code>? | ||
| * | ||
| * @return the Request is of type <code>multipart/related</code> | ||
| */ | ||
|
||
| @Override | ||
| public boolean isMultipartRelated() { | ||
| return isMultipartRelated(getRequest().getContentType()); | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.