Package 

Class Route

  • All Implemented Interfaces:

    
    public final class Route
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Route.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final HttpRequest buildRequest(KuzzleMap request) Given map containing the properties of the request, the buildRequest method will create an instance of HttpRequest which contains the information needed to make the request later on.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • buildRequest

         final HttpRequest buildRequest(KuzzleMap request)

        Given map containing the properties of the request, the buildRequest method will create an instance of HttpRequest which contains the information needed to make the request later on.

        The method has to:

        • Generate the URL using the properties of the request if there are part of the URL that are templated

        • Generate the query string

        • Generate the list of headers