Package com.qiniu.http
Class Headers.Builder
- java.lang.Object
-
- com.qiniu.http.Headers.Builder
-
- Enclosing class:
- Headers
public static final class Headers.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Headers.Builderadd(java.lang.String name, java.lang.String value)Headers.BuilderaddAll(Headers headers)Headersbuild()Headers.Builderset(java.lang.String name, java.lang.String value)
-
-
-
Method Detail
-
add
public Headers.Builder add(java.lang.String name, java.lang.String value)
-
addAll
public Headers.Builder addAll(Headers headers)
-
set
public Headers.Builder set(java.lang.String name, java.lang.String value)
-
build
public Headers build()
-
-