Class URLs
- java.lang.Object
-
- net.andreinc.mockneat.abstraction.MockUnitBase
-
- net.andreinc.mockneat.unit.networking.URLs
-
- All Implemented Interfaces:
MockUnit<java.lang.String>,MockUnitString
public class URLs extends MockUnitBase implements MockUnitString
-
-
Field Summary
-
Fields inherited from class net.andreinc.mockneat.abstraction.MockUnitBase
mockNeat
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description URLsauth()URLsdomain(java.lang.String domain)URLsdomain(DomainSuffixType type)URLsdomains(java.lang.String... domains)URLsdomains(DomainSuffixType... types)URLshost(java.lang.String host)URLshost(HostNameType hostNameType)URLshosts(java.lang.String... hosts)URLshosts(HostNameType... hostNameTypes)URLsport(java.lang.Integer port)URLsports()URLsports(java.lang.Integer... array)URLsscheme(java.lang.String scheme)URLsscheme(URLSchemeType scheme)URLsschemes(java.lang.String... schemes)URLsschemes(URLSchemeType... schemes)java.util.function.Supplier<java.lang.String>supplier()This is the sole abstract method of the interface.static URLsurls()URLswww(boolean hasWWW)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.andreinc.mockneat.abstraction.MockUnit
array, array, collection, collection, collection, collection, collection, collection, consume, consume, get, get, list, list, list, list, list, list, map, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapKeys, mapToDouble, mapToInt, mapToLocalDate, mapToLong, mapToString, mapToString, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, mapVals, serialize, set, set, set, set, set, set, stream, val, val, valStr, valStr
-
Methods inherited from interface net.andreinc.mockneat.abstraction.MockUnitString
accumulate, append, array, base64, escapeCsv, escapeEcmaScript, escapeHtml, escapeXml, format, md2, md5, noSpecialChars, prepend, replace, replace, replaceAll, replaceFirst, sha1, sha256, sha384, sha512, split, split, sub, sub, urlEncode, urlEncode
-
-
-
-
Constructor Detail
-
URLs
protected URLs()
-
URLs
public URLs(MockNeat mockNeat)
-
-
Method Detail
-
urls
public static URLs urls()
-
schemes
public URLs schemes(java.lang.String... schemes)
-
scheme
public URLs scheme(java.lang.String scheme)
-
schemes
public URLs schemes(URLSchemeType... schemes)
-
scheme
public URLs scheme(URLSchemeType scheme)
-
auth
public URLs auth()
-
hosts
public URLs hosts(java.lang.String... hosts)
-
host
public URLs host(java.lang.String host)
-
hosts
public URLs hosts(HostNameType... hostNameTypes)
-
host
public URLs host(HostNameType hostNameType)
-
domains
public URLs domains(DomainSuffixType... types)
-
domain
public URLs domain(DomainSuffixType type)
-
domains
public URLs domains(java.lang.String... domains)
-
domain
public URLs domain(java.lang.String domain)
-
ports
public URLs ports()
-
ports
public URLs ports(java.lang.Integer... array)
-
port
public URLs port(java.lang.Integer port)
-
www
public URLs www(boolean hasWWW)
-
supplier
public java.util.function.Supplier<java.lang.String> supplier()
Description copied from interface:MockUnitThis is the sole abstract method of the interface. Needs to be implemented every-time a MockUnit is implemented.
-
-