Class HttpRequestParser (5.0.3)
Stay organized with collections
Save and categorize content based on your preferences.
public class HttpRequestParser
HttpRequestParser encapsulates helper methods used to parse incoming
multipart/form-data HTTP requests. Subclasses should use these methods to parse specific
requests into useful data structures.
Static Methods
getFieldName(BodyPart part)
protected static String getFieldName(BodyPart part)
| Parameter |
| Name |
Description |
part |
BodyPart
|
| Returns |
| Type |
Description |
String |
|
getTextContent(BodyPart part)
protected static String getTextContent(BodyPart part)
| Parameter |
| Name |
Description |
part |
BodyPart
|
| Returns |
| Type |
Description |
String |
|
parseMultipartRequest(HttpServletRequest req)
protected static MimeMultipart parseMultipartRequest(HttpServletRequest req)
Parse input stream of the given request into a MimeMultipart object.
| Returns |
| Type |
Description |
MimeMultipart |
A MimeMultipart object representing the POST data.
|
Constructors
HttpRequestParser()
public HttpRequestParser()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-03 UTC.
[null,null,["Last updated 2026-06-03 UTC."],[],[]]