Top Constructors Methods
org.hibernate.validator.cfg.defs

public Class URLDef

extends ConstraintDef<URLDef, URL>
Class Inheritance
Imports
jakarta.validation.constraints.Pattern, org.hibernate.validator.cfg.ConstraintDef, org.hibernate.validator.constraints.URL

Author
Hardy Ferentschik

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public URLDef
flags(Pattern.Flag... flags)

public URLDef
host(String host)

public URLDef
port(int port)

public URLDef
protocol(String protocol)

public URLDef
regexp(String regexp)

Inherited from org.hibernate.validator.cfg.ConstraintDef:
groupsmessagepayload

Constructor Detail

URLDefback to summary
public URLDef()

Method Detail

flagsback to summary
public URLDef flags(Pattern.Flag... flags)
hostback to summary
public URLDef host(String host)
portback to summary
public URLDef port(int port)
protocolback to summary
public URLDef protocol(String protocol)
regexpback to summary
public URLDef regexp(String regexp)