Package 

Object WebConstants


  • 
    public class WebConstants
    
                        

    Object to hold web-related constants and utilities for building URLs.

    Created by adeshmukh on 07/02/25. Project Name: OSMOS-Android-SDK File Name: WebConstants

    • Method Summary

      Modifier and Type Method Description
      final String buildUrl(String baseUrl, Map<String, Object> params) Builds a complete URL by appending a query string to the base URL.
      • Methods inherited from class java.lang.Object

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

      • buildUrl

         final String buildUrl(String baseUrl, Map<String, Object> params)

        Builds a complete URL by appending a query string to the base URL.

        Parameters:
        baseUrl - The base URL to which query parameters will be appended.
        params - A map of query parameters where keys are parameter names, and values are the parameter values (can be lists or single values).