org.apache.jmeter.protocol.http.curl

## Class BasicCurlParser

- java.lang.Object
- - org.apache.jmeter.protocol.http.curl.BasicCurlParser

-     public class BasicCurlParser
      extends java.lang.Object

  Basic cURL command parser that handles: -X -H --compressed --data POST with Body data
  Since:
    5.1

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `BasicCurlParser.Request`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicCurlParser()`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BasicCurlParser.Request` | `parse(java.lang.String commandLine)`
    `static java.lang.String[]` | `translateCommandline(java.lang.String toProcess)` Crack a command line.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BasicCurlParser

          public BasicCurlParser()

  - ### Method Detail

    - #### parse

          public BasicCurlParser.Request parse(java.lang.String commandLine)

    - #### translateCommandline

          public static java.lang.String[] translateCommandline(java.lang.String toProcess)

      Crack a command line.
      Parameters:
        `toProcess` - the command line to process.
      Returns:
        the command line broken into strings. An empty or null toProcess parameter results in a zero sized array.

Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.