# Class: BodyHandler

## vertx-web-js/body_handler~ BodyHandler

#### new BodyHandler()

  Source:
    - body_handler.js, line 29

### Methods

#### handle(arg0)

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `arg0` | RoutingContext |

  Source:
    - body_handler.js, line 39

#### setBodyLimit(bodyLimit) → {BodyHandler}

  Set the maximum body size -1 means unlimited

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `bodyLimit` | number | the max size

  Source:
    - body_handler.js, line 53

  ##### Returns:

  reference to this for fluency
  Type
    BodyHandler

#### setMergeFormAttributes(mergeFormAttributes) → {BodyHandler}

  Set whether form attributes will be added to the request parameters

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `mergeFormAttributes` | boolean | true if they should be merged

  Source:
    - body_handler.js, line 83

  ##### Returns:

  reference to this for fluency
  Type
    BodyHandler

#### setUploadsDirectory(uploadsDirectory) → {BodyHandler}

  Set the uploads directory to use

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `uploadsDirectory` | string | the uploads directory

  Source:
    - body_handler.js, line 68

  ##### Returns:

  reference to this for fluency
  Type
    BodyHandler