Striim 3.9.7 documentation

HTTP Reader

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

The Striim server binding IP address for the TCP socket. Set to 0.0.0.0 to allow any available network interface.

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

The TCP socket listening port on the Striim server, typically 80 for HTTP or 443 for HTTPS. This port must not be used by another process.

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;