fm.liveswitch.HttpMethod Enum Reference

The method used by an HTTP request. More...

Public Member Functions

 HttpMethod (int value)
 
int getAssignedValue ()
 

Static Public Member Functions

 [static initializer]
 
static HttpMethod getByAssignedValue (int value)
 

Public Attributes

 Get =(1)
 Indicates a GET request. More...
 
 Head =(2)
 Indicates a HEAD request. More...
 
 Post =(3)
 Indicates a POST request. More...
 
 Put =(4)
 Indicates a PUT request. More...
 
 Patch =(5)
 Indicates a PATCH request. More...
 
 Delete =(6)
 Indicates a DELETE request. More...
 

Detailed Description

The method used by an HTTP request.

Constructor & Destructor Documentation

◆ HttpMethod()

fm.liveswitch.HttpMethod.HttpMethod ( int  value)

Member Function Documentation

◆ [static initializer]()

fm.liveswitch.HttpMethod.[static initializer]
static

◆ getAssignedValue()

int fm.liveswitch.HttpMethod.getAssignedValue ( )

◆ getByAssignedValue()

static HttpMethod fm.liveswitch.HttpMethod.getByAssignedValue ( int  value)
static

Member Data Documentation

◆ Delete

fm.liveswitch.HttpMethod.Delete =(6)

Indicates a DELETE request.

◆ Get

fm.liveswitch.HttpMethod.Get =(1)

Indicates a GET request.

◆ Head

fm.liveswitch.HttpMethod.Head =(2)

Indicates a HEAD request.

◆ Patch

fm.liveswitch.HttpMethod.Patch =(5)

Indicates a PATCH request.

◆ Post

fm.liveswitch.HttpMethod.Post =(3)

Indicates a POST request.

◆ Put

fm.liveswitch.HttpMethod.Put =(4)

Indicates a PUT request.