All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jdroid.java.http.HttpServiceFactory.kt Maven / Gradle / Ivy

package com.jdroid.java.http

import com.jdroid.java.http.post.BodyEnclosingHttpService

interface HttpServiceFactory {

    fun newGetService(server: Server, urlSegments: List, httpServiceProcessors: List): HttpService

    fun newPostService(server: Server, urlSegments: List, httpServiceProcessors: List): BodyEnclosingHttpService

    fun newMultipartPostService(server: Server, urlSegments: List, httpServiceProcessors: List): MultipartHttpService

    fun newMultipartPutService(server: Server, urlSegments: List, httpServiceProcessors: List): MultipartHttpService

    fun newFormPostService(server: Server, urlSegments: List, httpServiceProcessors: List): BodyEnclosingHttpService

    fun newPutService(server: Server, urlSegments: List, httpServiceProcessors: List): BodyEnclosingHttpService

    fun newPatchService(baseURL: Server, urlSegments: List, httpServiceProcessors: List): BodyEnclosingHttpService

    fun newDeleteService(server: Server, urlSegments: List, httpServiceProcessors: List): HttpService
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy