Class CustomHeader
java.lang.Object
hudson.model.AbstractDescribableImpl<CustomHeader>
io.jenkins.plugins.restlistparam.model.CustomHeader
- All Implemented Interfaces:
Describable<CustomHeader>,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getValue()inthashCode()static booleanisValidName(String name) resolveAll(List<CustomHeader> customHeaders, Item context) Resolves a list of custom headers to the name/value pairs sent with a request.voidsetCredentialId(String credentialId) voidvoidsetValuePrefix(String valuePrefix) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
CustomHeader
-
-
Method Details
-
getName
-
getValue
-
setValue
-
getCredentialId
-
setCredentialId
-
getValuePrefix
-
setValuePrefix
-
resolve
-
resolveAll
Resolves a list of custom headers to the name/value pairs sent with a request. Shared by builds and Test Configuration so both send the same headers.- Parameters:
customHeaders- The configured headers (nullentries are ignored)context- The job used to look up credentials, ornullfor the system context- Returns:
- The resolved headers in configuration order, skipping headers without a usable name or value
-
isValidName
-
equals
-
hashCode
public int hashCode()
-