public final class HostnameValidator extends Object
Modifier and Type | Method and Description |
---|---|
static void |
validateHostnameCompliant(String hostnameComponent,
String paramName,
String object)
Validates that a hostname component is compliant.
|
public static void validateHostnameCompliant(String hostnameComponent, String paramName, String object)
hostnameComponent
- the hostname component to checkparamName
- the name of the param or field being checkedobject
- the object containing the hostname componentCopyright © 2024. All rights reserved.