# Class BounceNotificationParser (5.0.3)

    public final class BounceNotificationParser extends HttpRequestParser

The `BounceNotificationParser` parses an incoming HTTP request into
a description of a bounce notification.

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> [HttpRequestParser](https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser) \> BounceNotificationParser

## Inherited Members

[HttpRequestParser.getFieldName(BodyPart)](https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser#com_google_appengine_api_utils_HttpRequestParser_getFieldName_javax_mail_BodyPart_) [HttpRequestParser.getTextContent(BodyPart)](https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser#com_google_appengine_api_utils_HttpRequestParser_getTextContent_javax_mail_BodyPart_) [HttpRequestParser.parseMultipartRequest(HttpServletRequest)](https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.utils.HttpRequestParser#com_google_appengine_api_utils_HttpRequestParser_parseMultipartRequest_javax_servlet_http_HttpServletRequest_) [Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Methods

### parse(HttpServletRequest request)

    public static BounceNotification parse(HttpServletRequest request)

Parse the POST data of the given request to get details about the bounce notification.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.oracle.com/javase/8/docs/api/javax/servlet/http/HttpServletRequest.html` The [HttpServletRequest](https://docs.oracle.com/javase/8/docs/api/javax/servlet/http/HttpServletRequest.html) whose POST data should be parsed. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.mail.BounceNotification` | a BounceNotification |

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |
| `https://docs.oracle.com/javase/8/docs/api/javax/mail/MessagingException.html` |   |

## Constructors

### BounceNotificationParser()

    public BounceNotificationParser()