Class: SimRequest

SimRequest()

Class representing a request to the HTTP endpoint Similar to Request in Express or SparkJava no methods, just public members

Constructor

new SimRequest()

Members

body

The Body of a POST request as a string - parse to Objects as needed

params

The URL path broken into an array of strings

path

The URL as a String

query

The Query part of the URL use .get('paramater')

sourceIp

A Fake IP address