Class SecurityInfoDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.dto.SecurityInfoDTO
-
public class SecurityInfoDTO extends Object
Optional security headers to use during URL validation.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_HEADERstatic StringSERIALIZED_NAME_IS_SECUREstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description SecurityInfoDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetHeader()Header name used for authentication, if required.StringgetValue()Value used for the authentication header.inthashCode()SecurityInfoDTOheader(String header)BooleanisIsSecure()Indicates whether the URL is secure (HTTPS) or not (HTTP).SecurityInfoDTOisSecure(Boolean isSecure)voidsetHeader(String header)voidsetIsSecure(Boolean isSecure)voidsetValue(String value)StringtoString()SecurityInfoDTOvalue(String value)
-
-
-
Field Detail
-
SERIALIZED_NAME_IS_SECURE
public static final String SERIALIZED_NAME_IS_SECURE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HEADER
public static final String SERIALIZED_NAME_HEADER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isSecure
public SecurityInfoDTO isSecure(Boolean isSecure)
-
isIsSecure
@Nullable public Boolean isIsSecure()
Indicates whether the URL is secure (HTTPS) or not (HTTP).- Returns:
- isSecure
-
setIsSecure
public void setIsSecure(Boolean isSecure)
-
header
public SecurityInfoDTO header(String header)
-
getHeader
@Nullable public String getHeader()
Header name used for authentication, if required.- Returns:
- header
-
setHeader
public void setHeader(String header)
-
value
public SecurityInfoDTO value(String value)
-
getValue
@Nullable public String getValue()
Value used for the authentication header.- Returns:
- value
-
setValue
public void setValue(String value)
-
-