Striim 3.9.6 documentation

HTTPReader

This reader requires the Oracle JDK (see System requirements).

Listens for HTTP POST requests on the specified port. When a request is received, returns code 200 (success) or 400 (failure) to the client.

See Supported reader-parser combinations) for parsing options.

property

type

default value

notes

authenticateclient

java.lang.Boolean

False

Set to True to have the server authenticate the client.

compressiontype

java.lang.String

Set to gzip when the input is in gzip format. Otherwise, leave blank.

IPAddress

java.lang.String

IP address of HTTP source

keystore

java.lang.String

Location of the Java keystore file containing the Striim application’s own certificate and private key. If this is blank and a value is specified for keystoretype, an empty keystore is created.

keystorepassword

com.webaction. security.Password

Provide a password if required to unlock the keystore or to check the integrity of the keystore data. Otherwise, leave blank. See Encrypted passwords.

keystoretype

java.lang.String

Set to JKS, JCEKS, or PKCS12 to enable SSL. Otherwise, leave blank.

portno

java.lang.Integer

port number of HTTP source

threadcount

java.lang.Integer

10

The number of threads to be initialized for handling multiple concurrent HTTP connections. Valid values are 1 to 500.

The output type is WAevent except when using JSONParser.

Sample code using the DSVParser:

CREATE SOURCE HTTPSource USING HTTPReader (
	PortNo:'10000')
PARSE USING DSVParser (
    header:'yes'
)
OUTPUT TO HttpDataStream;