HTTPHeader Class
- java.
lang. Object - com.
microsoft. azure. management. network. HTTPHeader
- com.
public class HTTPHeader
The HTTP header.
Constructor Summary
Constructor | Description | |
---|---|---|
HTTPHeader() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Get the name in HTTP header. |
java.lang.String |
value()
Get the value in HTTP header. |
HTTPHeader |
withName(String name)
Set the name in HTTP header. |
HTTPHeader |
withValue(String value)
Set the value in HTTP header. |
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
HTTPHeader
public HTTPHeader()
Method Details
name
public String name()
Get the name in HTTP header.
Returns:
the name value
value
public String value()
Get the value in HTTP header.
Returns:
the value value
withName
public HTTPHeader withName(String name)
Set the name in HTTP header.
Parameters:
name
- the name value to set
Returns:
the HTTPHeader object itself.
withValue
public HTTPHeader withValue(String value)
Set the value in HTTP header.
Parameters:
value
- the value value to set
Returns:
the HTTPHeader object itself.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin