Package 

Class Method

  • All Implemented Interfaces:

    
    public final class Method
    
                        

    HTTP Request Method.

    Many of the common HTTP methods are provided as constants while the Method constructor can be used to create unsupported or custom methods.

    Constants are provided for the common methods Options, Get, Head, Post, Put, Patch, Delete, Trace, and Connect.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Method.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      Method(String name, Boolean requiresBody)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description