Properties

Link copied to clipboard
Link copied to clipboard
open override val kdoc: CodeBlock.Builder
Link copied to clipboard
Link copied to clipboard
open override val tags: MutableMap<KClass<*>, Any>

Mutable map of the current tags this builder contains.

Functions

Link copied to clipboard
@DelicateKotlinPoetApi(message = "Java reflection APIs don't give complete information on Kotlin types. Consider using the kotlinpoet-metadata APIs instead.")
open override fun addAnnotation(annotation: <Error class: unknown class><out <Error class: unknown class>>): ParameterSpec.Builder
open override fun addAnnotation(annotationSpec: AnnotationSpec): ParameterSpec.Builder
open override fun addAnnotation(annotation: ClassName): ParameterSpec.Builder
open override fun addAnnotation(annotation: KClass<*>): ParameterSpec.Builder
Link copied to clipboard
open override fun addAnnotations(annotationSpecs: Iterable<AnnotationSpec>): ParameterSpec.Builder
Link copied to clipboard
open override fun addKdoc(block: CodeBlock): ParameterSpec.Builder
open override fun addKdoc(format: String, vararg args: Any): ParameterSpec.Builder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun tag(type: <Error class: unknown class><out <Error class: unknown class>>, tag: Any?): ParameterSpec.Builder
open fun tag(type: KClass<*>, tag: Any?): ParameterSpec.Builder

Attaches tag to the request using type as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for type.

Link copied to clipboard

Attaches tag to the request using T as a key. Tags can be read from a request using Taggable.tag. Use null to remove any existing tag assigned for T.