EN · DE · RU · FR · ES

#838: CarddavTestClient.kt

projectforge-business/src/main/kotlin/org/projectforge/business/address/ImageType.kt Test Utility - CardDAV, projectforge-carddav/src/test/kotlin/org/projectforge/carddav/CarddavTestClient.kt 70 lines · 42 code · 22 comments · 6 blank
Standalone CLI test client (`main` function) for CardDAV server debugging. Uses Apache HttpClient 5 to connect, authenticate, and optionally fetch all VCards to `/tmp/carddav-vcards/`.

Architecture

Purpose

Standalone CLI client (Kotlin main function) for debugging the CardDAV server. Connects via Apache HttpClient 5.

Usage

CardDavTestClient <username> <dav-token> [--fetch-all]

Key Features

Dependencies

ImportPurpose
org.apache.hc.client5.http.*HTTP client (Apache HttpClient 5)
org.apache.hc.core5.http.*HTTP core types/entities
org.projectforge.common.extensions.abbreviateString abbreviation utility

Git History

868d6abb7 2025 -> 2026
bbf6b792c VCard upload: special handling of form field.
f2ceb72f1 CardDav: photo-urls relative.
63081666f Source file headers: 2024-> 2025.
943947aaa Addresses: support of gif and jpeg (also for carddav server). deprecated rest stuff removed.
fc6301b43 WIP: CardDavServer.
c4062ed97 WIP: Carddav
40e554cbe WIP: Carddav