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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.