Contains information about the HTTP request that has been made to the server.

Constructor

new (uri:String, method:String)

Default constructor

Parameters:

uri

The request's URI. A slash will automatically be appended to it.

method

The request's HTTP method. It will be automatically uppercased.

Methods

getMethod ():String

Returns:

The request's method, always uppercased

getURI ():String

Returns:

The request's URI, always with a trailing slash