code: public static String getContextURL(ODataUri oDataUri, EntityDataModel entityDataModel) throws ODataRenderException {
          return getContextURL(oDataUri, entityDataModel, false);
      }
docs: This method returns odata context based on oDataUri.
  Throws ODataRenderException in case context is not defined.
  
  @param entityDataModel The entity data model.
  @param oDataUri        is object which is the root of an abstract syntax tree that describes
  @return string that represents context
  @throws ODataRenderException if unable to get context from url