URL Cleanup

This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://1337.net (200) with 1 occurrences could not be migrated:
   ([https](https://1337.net) result SSLHandshakeException).
* [ ] http://codearte.io (200) with 2 occurrences could not be migrated:
   ([https](https://codearte.io) result SSLHandshakeException).
* [ ] http://groovy-lang.org/json.html (200) with 5 occurrences could not be migrated:
   ([https](https://groovy-lang.org/json.html) result SSLProtocolException).
* [ ] http://partners.com (200) with 15 occurrences could not be migrated:
   ([https](https://partners.com) result SSLHandshakeException).
* [ ] http://rest-assured.io/ (200) with 2 occurrences could not be migrated:
   ([https](https://rest-assured.io/) result SSLHandshakeException).
* [ ] http://spockframework.org/ (200) with 1 occurrences could not be migrated:
   ([https](https://spockframework.org/) result SSLHandshakeException).
* [ ] http://toomuchcoding.com/blog/categories/accurest/ (200) with 2 occurrences could not be migrated:
   ([https](https://toomuchcoding.com/blog/categories/accurest/) result SSLHandshakeException).
* [ ] http://toomuchcoding.com/blog/categories/spring-cloud-contract/ (200) with 2 occurrences could not be migrated:
   ([https](https://toomuchcoding.com/blog/categories/spring-cloud-contract/) result SSLHandshakeException).
* [ ] http://wiremock.org (200) with 3 occurrences could not be migrated:
   ([https](https://wiremock.org) result SSLHandshakeException).
* [ ] http://wiremock.org/docs/running-standalone/ (200) with 2 occurrences could not be migrated:
   ([https](https://wiremock.org/docs/running-standalone/) result SSLHandshakeException).
* [ ] http://wiremock.org/docs/stateful-behaviour/ (200) with 2 occurrences could not be migrated:
   ([https](https://wiremock.org/docs/stateful-behaviour/) result SSLHandshakeException).
* [ ] http://wiremock.org/docs/stubbing/ (200) with 2 occurrences could not be migrated:
   ([https](https://wiremock.org/docs/stubbing/) result SSLHandshakeException).
* [ ] http://wiremock.org/stubbing.html (200) with 1 occurrences could not be migrated:
   ([https](https://wiremock.org/stubbing.html) result SSLHandshakeException).
* [ ] http://www.w3.org/TR/cors/ (200) with 8 occurrences could not be migrated:
   ([https](https://www.w3.org/TR/cors/) result SSLException).
* [ ] http://foo.com/ (301) with 1 occurrences could not be migrated:
   ([https](https://foo.com/) result SSLHandshakeException).
* [ ] http://foo.com/blah_blah (301) with 2 occurrences could not be migrated:
   ([https](https://foo.com/blah_blah) result SSLHandshakeException).
* [ ] http://foo.com/blah_ (301) with 2 occurrences could not be migrated:
   ([https](https://foo.com/blah_) result SSLHandshakeException).
* [ ] http://foo.com/blah_blah/ (301) with 2 occurrences could not be migrated:
   ([https](https://foo.com/blah_blah/) result SSLHandshakeException).
* [ ] http://foo.com/unicode_ (301) with 1 occurrences could not be migrated:
   ([https](https://foo.com/unicode_) result SSLHandshakeException).
* [ ] http://foo.com (301) with 1 occurrences could not be migrated:
   ([https](https://foo.com) result SSLHandshakeException).
* [ ] http://foo.com/blah_blah_ (301) with 2 occurrences could not be migrated:
   ([https](https://foo.com/blah_blah_) result SSLHandshakeException).
* [ ] http://192.168.0.100:8081/artifactory/libs-release-local (403) with 1 occurrences could not be migrated:
   ([https](https://192.168.0.100:8081/artifactory/libs-release-local) result ClosedChannelException).
* [ ] http://nexus.net/content/repositories/repository (404) with 1 occurrences could not be migrated:
   ([https](https://nexus.net/content/repositories/repository) result SSLProtocolException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://142.42.1.1/ (AnnotatedNoRouteToHostException) with 1 occurrences migrated to:
  https://142.42.1.1/ ([https](https://142.42.1.1/) result AnnotatedNoRouteToHostException).
* [ ] http://142.42.1.1:8080/ (AnnotatedNoRouteToHostException) with 1 occurrences migrated to:
  https://142.42.1.1:8080/ ([https](https://142.42.1.1:8080/) result AnnotatedNoRouteToHostException).
* [ ] http://223.255.255.254 (AnnotatedNoRouteToHostException) with 1 occurrences migrated to:
  https://223.255.255.254 ([https](https://223.255.255.254) result AnnotatedNoRouteToHostException).
* [ ] http://123.123.123 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://123.123.123 ([https](https://123.123.123) result ConnectTimeoutException).
* [ ] http://3628126748 (ConnectTimeoutException) with 1 occurrences migrated to:
  https://3628126748 ([https](https://3628126748) result ConnectTimeoutException).
* [ ] http://-a.b.co (UnknownHostException) with 1 occurrences migrated to:
  https://-a.b.co ([https](https://-a.b.co) result UnknownHostException).
* [ ] http://-error-.invalid/ (UnknownHostException) with 1 occurrences migrated to:
  https://-error-.invalid/ ([https](https://-error-.invalid/) result UnknownHostException).
* [ ] http://../ (UnknownHostException) with 1 occurrences migrated to:
  https://../ ([https](https://../) result UnknownHostException).
* [ ] http://.www.foo.bar./ (UnknownHostException) with 1 occurrences migrated to:
  https://.www.foo.bar./ ([https](https://.www.foo.bar./) result UnknownHostException).
* [ ] http://.www.foo.bar/ (UnknownHostException) with 1 occurrences migrated to:
  https://.www.foo.bar/ ([https](https://.www.foo.bar/) result UnknownHostException).
* [ ] http:///a (UnknownHostException) with 1 occurrences migrated to:
  https:///a ([https](https:///a) result UnknownHostException).
* [ ] http://1.1.1.1.1 (UnknownHostException) with 1 occurrences migrated to:
  https://1.1.1.1.1 ([https](https://1.1.1.1.1) result UnknownHostException).
* [ ] http://??/ (UnknownHostException) with 1 occurrences migrated to:
  https://??/ ([https](https://??/) result UnknownHostException).
* [ ] http://a.b-.co (UnknownHostException) with 1 occurrences migrated to:
  https://a.b-.co ([https](https://a.b-.co) result UnknownHostException).
* [ ] http://a.b-c.de (UnknownHostException) with 1 occurrences migrated to:
  https://a.b-c.de ([https](https://a.b-c.de) result UnknownHostException).
* [ ] http://foo (UnknownHostException) with 2 occurrences migrated to:
  https://foo ([https](https://foo) result UnknownHostException).
* [ ] http://foo-597104692.com (UnknownHostException) with 3 occurrences migrated to:
  https://foo-597104692.com ([https](https://foo-597104692.com) result UnknownHostException).
* [ ] http://foo.bar (UnknownHostException) with 2 occurrences migrated to:
  https://foo.bar ([https](https://foo.bar) result UnknownHostException).
* [ ] http://foo.bar/?q=Test%20URL-encoded%20stuff (UnknownHostException) with 1 occurrences migrated to:
  https://foo.bar/?q=Test%20URL-encoded%20stuff ([https](https://foo.bar/?q=Test%20URL-encoded%20stuff) result UnknownHostException).
* [ ] http://foo.bar/foo (UnknownHostException) with 1 occurrences migrated to:
  https://foo.bar/foo ([https](https://foo.bar/foo) result UnknownHostException).
* [ ] http://foo.bar?q=Spaces (UnknownHostException) with 1 occurrences migrated to:
  https://foo.bar?q=Spaces ([https](https://foo.bar?q=Spaces) result UnknownHostException).
* [ ] http://foo/bar (UnknownHostException) with 4 occurrences migrated to:
  https://foo/bar ([https](https://foo/bar) result UnknownHostException).
* [ ] http://foo/bar?myParam= (UnknownHostException) with 1 occurrences migrated to:
  https://foo/bar?myParam= ([https](https://foo/bar?myParam=) result UnknownHostException).
* [ ] http://foo389886219.com (UnknownHostException) with 3 occurrences migrated to:
  https://foo389886219.com ([https](https://foo389886219.com) result UnknownHostException).
* [ ] http://link/to/your/nexus/or/artifactory/or/sth (UnknownHostException) with 2 occurrences migrated to:
  https://link/to/your/nexus/or/artifactory/or/sth ([https](https://link/to/your/nexus/or/artifactory/or/sth) result UnknownHostException).
* [ ] http://loanIssuance/name (UnknownHostException) with 3 occurrences migrated to:
  https://loanIssuance/name ([https](https://loanIssuance/name) result UnknownHostException).
* [ ] http://someNameThatShouldMapFraudDetectionServer/name (UnknownHostException) with 3 occurrences migrated to:
  https://someNameThatShouldMapFraudDetectionServer/name ([https](https://someNameThatShouldMapFraudDetectionServer/name) result UnknownHostException).
* [ ] http://some_url (UnknownHostException) with 1 occurrences migrated to:
  https://some_url ([https](https://some_url) result UnknownHostException).
* [ ] http://userid:password@example.com (UnknownHostException) with 1 occurrences migrated to:
  https://userid:password@example.com ([https](https://userid:password@example.com) result UnknownHostException).
* [ ] http://userid:password@example.com/ (UnknownHostException) with 1 occurrences migrated to:
  https://userid:password@example.com/ ([https](https://userid:password@example.com/) result UnknownHostException).
* [ ] http://userid:password@example.com:8080 (UnknownHostException) with 1 occurrences migrated to:
  https://userid:password@example.com:8080 ([https](https://userid:password@example.com:8080) result UnknownHostException).
* [ ] http://userid:password@example.com:8080/ (UnknownHostException) with 1 occurrences migrated to:
  https://userid:password@example.com:8080/ ([https](https://userid:password@example.com:8080/) result UnknownHostException).
* [ ] http://userid@example.com (UnknownHostException) with 1 occurrences migrated to:
  https://userid@example.com ([https](https://userid@example.com) result UnknownHostException).
* [ ] http://userid@example.com/ (UnknownHostException) with 1 occurrences migrated to:
  https://userid@example.com/ ([https](https://userid@example.com/) result UnknownHostException).
* [ ] http://userid@example.com:8080 (UnknownHostException) with 1 occurrences migrated to:
  https://userid@example.com:8080 ([https](https://userid@example.com:8080) result UnknownHostException).
* [ ] http://userid@example.com:8080/ (UnknownHostException) with 1 occurrences migrated to:
  https://userid@example.com:8080/ ([https](https://userid@example.com:8080/) result UnknownHostException).
* [ ] http://www.foo.bar./ (UnknownHostException) with 1 occurrences migrated to:
  https://www.foo.bar./ ([https](https://www.foo.bar./) result UnknownHostException).
* [ ] http://www.example.com/wpstyle/?p=364 (404) with 1 occurrences migrated to:
  https://www.example.com/wpstyle/?p=364 ([https](https://www.example.com/wpstyle/?p=364) result 404).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).
* [ ] http://api.twitter.com/1/geo/id/01fbe706f872cb32.json (403) with 4 occurrences migrated to:
  https://api.twitter.com/1/geo/id/01fbe706f872cb32.json ([https](https://api.twitter.com/1/geo/id/01fbe706f872cb32.json) result 410).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://asciidoctor.org with 1 occurrences migrated to:
  https://asciidoctor.org ([https](https://asciidoctor.org) result 200).
* [ ] http://www.citrusframework.org/ (301) with 1 occurrences migrated to:
  https://citrusframework.org/ ([https](https://www.citrusframework.org/) result 200).
* [ ] http://cloud-samples.spring.io/spring-cloud-contract-samples/workshops.html with 2 occurrences migrated to:
  https://cloud-samples.spring.io/spring-cloud-contract-samples/workshops.html ([https](https://cloud-samples.spring.io/spring-cloud-contract-samples/workshops.html) result 200).
* [ ] http://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html ([https](https://cloud.spring.io/spring-cloud-contract/spring-cloud-contract.html) result 200).
* [ ] http://example.org with 40 occurrences migrated to:
  https://example.org ([https](https://example.org) result 200).
* [ ] http://example.org/ with 3 occurrences migrated to:
  https://example.org/ ([https](https://example.org/) result 200).
* [ ] http://example.org/123/hello-url-matcher/ with 1 occurrences migrated to:
  https://example.org/123/hello-url-matcher/ ([https](https://example.org/123/hello-url-matcher/) result 200).
* [ ] http://example.org/123/url-path-pattern/ with 1 occurrences migrated to:
  https://example.org/123/url-path-pattern/ ([https](https://example.org/123/url-path-pattern/) result 200).
* [ ] http://example.org/body with 10 occurrences migrated to:
  https://example.org/body ([https](https://example.org/body) result 200).
* [ ] http://example.org/poster with 6 occurrences migrated to:
  https://example.org/poster ([https](https://example.org/poster) result 200).
* [ ] http://example.org/resource with 10 occurrences migrated to:
  https://example.org/resource ([https](https://example.org/resource) result 200).
* [ ] http://handlebarsjs.com/ with 1 occurrences migrated to:
  https://handlebarsjs.com/ ([https](https://handlebarsjs.com/) result 200).
* [ ] http://martinfowler.com/articles/consumerDrivenContracts.html with 1 occurrences migrated to:
  https://martinfowler.com/articles/consumerDrivenContracts.html ([https](https://martinfowler.com/articles/consumerDrivenContracts.html) result 200).
* [ ] http://maven.apache.org/download.cgi with 1 occurrences migrated to:
  https://maven.apache.org/download.cgi ([https](https://maven.apache.org/download.cgi) result 200).
* [ ] http://maven.apache.org/xsd/assembly-1.1.3.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/assembly-1.1.3.xsd ([https](https://maven.apache.org/xsd/assembly-1.1.3.xsd) result 200).
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 19 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://tools.ietf.org/html/rfc1945 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc1945 ([https](https://tools.ietf.org/html/rfc1945) result 200).
* [ ] http://tools.ietf.org/html/rfc2109 with 2 occurrences migrated to:
  https://tools.ietf.org/html/rfc2109 ([https](https://tools.ietf.org/html/rfc2109) result 200).
* [ ] http://tools.ietf.org/html/rfc2295 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2295 ([https](https://tools.ietf.org/html/rfc2295) result 200).
* [ ] http://tools.ietf.org/html/rfc2324 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2324 ([https](https://tools.ietf.org/html/rfc2324) result 200).
* [ ] http://tools.ietf.org/html/rfc2518 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2518 ([https](https://tools.ietf.org/html/rfc2518) result 200).
* [ ] http://tools.ietf.org/html/rfc2616 with 2 occurrences migrated to:
  https://tools.ietf.org/html/rfc2616 ([https](https://tools.ietf.org/html/rfc2616) result 200).
* [ ] http://tools.ietf.org/html/rfc2774 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2774 ([https](https://tools.ietf.org/html/rfc2774) result 200).
* [ ] http://tools.ietf.org/html/rfc2817 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2817 ([https](https://tools.ietf.org/html/rfc2817) result 200).
* [ ] http://tools.ietf.org/html/rfc2965 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc2965 ([https](https://tools.ietf.org/html/rfc2965) result 200).
* [ ] http://tools.ietf.org/html/rfc3229 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc3229 ([https](https://tools.ietf.org/html/rfc3229) result 200).
* [ ] http://tools.ietf.org/html/rfc4918 with 5 occurrences migrated to:
  https://tools.ietf.org/html/rfc4918 ([https](https://tools.ietf.org/html/rfc4918) result 200).
* [ ] http://tools.ietf.org/html/rfc5842 with 2 occurrences migrated to:
  https://tools.ietf.org/html/rfc5842 ([https](https://tools.ietf.org/html/rfc5842) result 200).
* [ ] http://tools.ietf.org/html/rfc5988 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc5988 ([https](https://tools.ietf.org/html/rfc5988) result 200).
* [ ] http://tools.ietf.org/html/rfc6266 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc6266 ([https](https://tools.ietf.org/html/rfc6266) result 200).
* [ ] http://tools.ietf.org/html/rfc6454 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc6454 ([https](https://tools.ietf.org/html/rfc6454) result 200).
* [ ] http://tools.ietf.org/html/rfc6585 with 4 occurrences migrated to:
  https://tools.ietf.org/html/rfc6585 ([https](https://tools.ietf.org/html/rfc6585) result 200).
* [ ] http://tools.ietf.org/html/rfc7230 with 8 occurrences migrated to:
  https://tools.ietf.org/html/rfc7230 ([https](https://tools.ietf.org/html/rfc7230) result 200).
* [ ] http://tools.ietf.org/html/rfc7231 with 53 occurrences migrated to:
  https://tools.ietf.org/html/rfc7231 ([https](https://tools.ietf.org/html/rfc7231) result 200).
* [ ] http://tools.ietf.org/html/rfc7232 with 8 occurrences migrated to:
  https://tools.ietf.org/html/rfc7232 ([https](https://tools.ietf.org/html/rfc7232) result 200).
* [ ] http://tools.ietf.org/html/rfc7233 with 6 occurrences migrated to:
  https://tools.ietf.org/html/rfc7233 ([https](https://tools.ietf.org/html/rfc7233) result 200).
* [ ] http://tools.ietf.org/html/rfc7234 with 5 occurrences migrated to:
  https://tools.ietf.org/html/rfc7234 ([https](https://tools.ietf.org/html/rfc7234) result 200).
* [ ] http://tools.ietf.org/html/rfc7235 with 6 occurrences migrated to:
  https://tools.ietf.org/html/rfc7235 ([https](https://tools.ietf.org/html/rfc7235) result 200).
* [ ] http://tools.ietf.org/html/rfc7238 with 1 occurrences migrated to:
  https://tools.ietf.org/html/rfc7238 ([https](https://tools.ietf.org/html/rfc7238) result 200).
* [ ] http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt with 3 occurrences migrated to:
  https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt ([https](https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt) result 200).
* [ ] http://www.java.com/en/download/help/error_hotspot.xml with 1 occurrences migrated to:
  https://www.java.com/en/download/help/error_hotspot.xml ([https](https://www.java.com/en/download/help/error_hotspot.xml) result 200).
* [ ] http://www.regular-expressions.info/examples.html with 1 occurrences migrated to:
  https://www.regular-expressions.info/examples.html ([https](https://www.regular-expressions.info/examples.html) result 200).
* [ ] http://www.slideshare.net/MarcinGrzejszczak/stick-to-the-rules-consumer-driven-contracts-201507-confitura with 2 occurrences migrated to:
  https://www.slideshare.net/MarcinGrzejszczak/stick-to-the-rules-consumer-driven-contracts-201507-confitura ([https](https://www.slideshare.net/MarcinGrzejszczak/stick-to-the-rules-consumer-driven-contracts-201507-confitura) result 200).
* [ ] http://cloud.spring.io/spring-cloud-cli with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-cli ([https](https://cloud.spring.io/spring-cloud-cli) result 301).
* [ ] http://code.google.com/events/ with 1 occurrences migrated to:
  https://code.google.com/events/ ([https](https://code.google.com/events/) result 301).
* [ ] http://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal with 1 occurrences migrated to:
  https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal ([https](https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal) result 301).
* [ ] http://j.mp with 1 occurrences migrated to:
  https://j.mp ([https](https://j.mp) result 301).
* [ ] http://pact.io/ with 1 occurrences migrated to:
  https://pact.io/ ([https](https://pact.io/) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://spockframework.github.io/ with 1 occurrences migrated to:
  https://spockframework.github.io/ ([https](https://spockframework.github.io/) result 301).
* [ ] http://www.sonatype.org/nexus/ with 1 occurrences migrated to:
  https://www.sonatype.org/nexus/ ([https](https://www.sonatype.org/nexus/) result 301).
* [ ] http://formvalidation.io/validators/uri/ with 1 occurrences migrated to:
  https://formvalidation.io/validators/uri/ ([https](https://formvalidation.io/validators/uri/) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost with 54 occurrences
* http://localhost/partners/ with 8 occurrences
* http://localhost/partners/1000/users/1001 with 3 occurrences
* http://localhost:12345 with 2 occurrences
* http://localhost:12346 with 2 occurrences
* http://localhost:5435 with 1 occurrences
* http://localhost:6060 with 1 occurrences
* http://localhost:6061 with 1 occurrences
* http://localhost:6063 with 1 occurrences
* http://localhost:6065 with 1 occurrences
* http://localhost:6066 with 1 occurrences
* http://localhost:6067 with 1 occurrences
* http://localhost:6565/ with 1 occurrences
* http://localhost:6565/1 with 1 occurrences
* http://localhost:7070 with 1 occurrences
* http://localhost:7071 with 1 occurrences
* http://localhost:8080 with 3 occurrences
* http://localhost:8080/api with 1 occurrences
* http://localhost:8081/artifactory/libs-release-local with 2 occurrences
* http://localhost:8081/artifactory/libs-release-local/com/example/bookstore/0.0.1.RELEASE/ with 1 occurrences
* http://localhost:8081/artifactory/libs-release-local/com/example/bookstore/0.0.1.RELEASE/bookstore-0.0.1.RELEASE-stubs.jar with 1 occurrences
* http://localhost:8085 with 4 occurrences
* http://localhost:8888/users with 1 occurrences
* http://localhost:9090 with 1 occurrences
* http://localhost:9876/api/books with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 38 occurrences
* http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 with 2 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 20 occurrences
This commit is contained in:
Spring Operator
2019-03-20 15:39:50 -05:00
parent 436c792faa
commit ef1054e23e
60 changed files with 296 additions and 296 deletions

View File

@@ -33,35 +33,35 @@ class HttpHeaders {
/**
* The HTTP {@code Accept} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.3.2" > Section 5.3.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.3.2" > Section 5.3.2 of RFC 7231</a>
*/
String accept() {
return "Accept"
}
/**
* The HTTP {@code Accept-Charset} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.3.3" > Section 5.3.3 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.3.3" > Section 5.3.3 of RFC 7231</a>
*/
String acceptCharset() {
return "Accept-Charset"
}
/**
* The HTTP {@code Accept-Encoding} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.3.4" > Section 5.3.4 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.3.4" > Section 5.3.4 of RFC 7231</a>
*/
String acceptEncoding() {
return "Accept-Encoding"
}
/**
* The HTTP {@code Accept-Language} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.3.5" > Section 5.3.5 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.3.5" > Section 5.3.5 of RFC 7231</a>
*/
String acceptLanguage() {
return "Accept-Language"
}
/**
* The HTTP {@code Accept-Ranges} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-2.3" > Section 5.3.5 of RFC 7233</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-2.3" > Section 5.3.5 of RFC 7233</a>
*/
String acceptRanges() {
return "Accept-Ranges"
@@ -124,28 +124,28 @@ class HttpHeaders {
}
/**
* The HTTP {@code Age} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7234#section-5.1" > Section 5.1 of RFC 7234</a>
* @see <ahref="https://tools.ietf.org/html/rfc7234#section-5.1" > Section 5.1 of RFC 7234</a>
*/
String age() {
return "Age"
}
/**
* The HTTP {@code Allow} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.4.1" > Section 7.4.1 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.4.1" > Section 7.4.1 of RFC 7231</a>
*/
String allow() {
return "Allow"
}
/**
* The HTTP {@code Authorization} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-4.2" > Section 4.2 of RFC 7235</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-4.2" > Section 4.2 of RFC 7235</a>
*/
String authorization() {
return "Authorization"
}
/**
* The HTTP {@code Cache-Control} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7234#section-5.2" > Section 5.2 of RFC 7234</a>
* @see <ahref="https://tools.ietf.org/html/rfc7234#section-5.2" > Section 5.2 of RFC 7234</a>
*/
String cacheControl() {
return "Cache-Control"
@@ -153,7 +153,7 @@ class HttpHeaders {
/**
* The HTTP {@code Connection} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-6.1" > Section 6.1 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-6.1" > Section 6.1 of RFC 7230</a>
*/
String connection() {
return "Connection"
@@ -161,7 +161,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Encoding} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-3.1.2.2" > Section 3.1.2.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-3.1.2.2" > Section 3.1.2.2 of RFC 7231</a>
*/
String contentEncoding() {
return "Content-Encoding"
@@ -169,7 +169,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Disposition} header field name
* @see <ahref="http://tools.ietf.org/html/rfc6266" > RFC 6266</a>
* @see <ahref="https://tools.ietf.org/html/rfc6266" > RFC 6266</a>
*/
String contentDisposition() {
return "Content-Disposition"
@@ -177,7 +177,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Language} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-3.1.3.2" > Section 3.1.3.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-3.1.3.2" > Section 3.1.3.2 of RFC 7231</a>
*/
String contentLanguage() {
return "Content-Language"
@@ -185,7 +185,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Length} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-3.3.2" > Section 3.3.2 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-3.3.2" > Section 3.3.2 of RFC 7230</a>
*/
String contentLength() {
return "Content-Length"
@@ -193,7 +193,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Location} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-3.1.4.2" > Section 3.1.4.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-3.1.4.2" > Section 3.1.4.2 of RFC 7231</a>
*/
String contentLocation() {
return "Content-Location"
@@ -201,7 +201,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Range} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-4.2" > Section 4.2 of RFC 7233</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-4.2" > Section 4.2 of RFC 7233</a>
*/
String contentRange() {
return "Content-Range"
@@ -209,7 +209,7 @@ class HttpHeaders {
/**
* The HTTP {@code Content-Type} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-3.1.1.5" > Section 3.1.1.5 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-3.1.1.5" > Section 3.1.1.5 of RFC 7231</a>
*/
String contentType() {
return "Content-Type"
@@ -217,7 +217,7 @@ class HttpHeaders {
/**
* The HTTP {@code Cookie} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc2109#section-4.3.4" > Section 4.3.4 of RFC 2109</a>
* @see <ahref="https://tools.ietf.org/html/rfc2109#section-4.3.4" > Section 4.3.4 of RFC 2109</a>
*/
String cookie() {
return "Cookie"
@@ -225,7 +225,7 @@ class HttpHeaders {
/**
* The HTTP {@code Date} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.1.1.2" > Section 7.1.1.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.1.1.2" > Section 7.1.1.2 of RFC 7231</a>
*/
String date() {
return "Date"
@@ -233,7 +233,7 @@ class HttpHeaders {
/**
* The HTTP {@code ETag} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-2.3" > Section 2.3 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-2.3" > Section 2.3 of RFC 7232</a>
*/
String etag() {
return "ETag"
@@ -241,7 +241,7 @@ class HttpHeaders {
/**
* The HTTP {@code Expect} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.1.1" > Section 5.1.1 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.1.1" > Section 5.1.1 of RFC 7231</a>
*/
String expect() {
return "Expect"
@@ -249,7 +249,7 @@ class HttpHeaders {
/**
* The HTTP {@code Expires} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7234#section-5.3" > Section 5.3 of RFC 7234</a>
* @see <ahref="https://tools.ietf.org/html/rfc7234#section-5.3" > Section 5.3 of RFC 7234</a>
*/
String expires() {
return "Expires"
@@ -257,7 +257,7 @@ class HttpHeaders {
/**
* The HTTP {@code From} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.5.1" > Section 5.5.1 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.5.1" > Section 5.5.1 of RFC 7231</a>
*/
String from() {
return "From"
@@ -265,7 +265,7 @@ class HttpHeaders {
/**
* The HTTP {@code Host} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-5.4" > Section 5.4 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-5.4" > Section 5.4 of RFC 7230</a>
*/
String host() {
return "Host"
@@ -273,7 +273,7 @@ class HttpHeaders {
/**
* The HTTP {@code If-Match} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-3.1" > Section 3.1 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-3.1" > Section 3.1 of RFC 7232</a>
*/
String ifMatch() {
return "If-Match"
@@ -281,7 +281,7 @@ class HttpHeaders {
/**
* The HTTP {@code If-Modified-Since} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-3.3" > Section 3.3 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-3.3" > Section 3.3 of RFC 7232</a>
*/
String ifModifiedSince() {
return "If-Modified-Since"
@@ -289,7 +289,7 @@ class HttpHeaders {
/**
* The HTTP {@code If-None-Match} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-3.2" > Section 3.2 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-3.2" > Section 3.2 of RFC 7232</a>
*/
String ifNoneMatch() {
return "If-None-Match"
@@ -297,7 +297,7 @@ class HttpHeaders {
/**
* The HTTP {@code If-Range} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-3.2" > Section 3.2 of RFC 7233</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-3.2" > Section 3.2 of RFC 7233</a>
*/
String ifRange() {
return "If-Range"
@@ -305,7 +305,7 @@ class HttpHeaders {
/**
* The HTTP {@code If-Unmodified-Since} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-3.4" > Section 3.4 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-3.4" > Section 3.4 of RFC 7232</a>
*/
String ifUnmodifiedSince() {
return "If-Unmodified-Since"
@@ -313,7 +313,7 @@ class HttpHeaders {
/**
* The HTTP {@code Last-Modified} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-2.2" > Section 2.2 of RFC 7232</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-2.2" > Section 2.2 of RFC 7232</a>
*/
String lastModified() {
return "Last-Modified"
@@ -321,7 +321,7 @@ class HttpHeaders {
/**
* The HTTP {@code Link} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc5988" > RFC 5988</a>
* @see <ahref="https://tools.ietf.org/html/rfc5988" > RFC 5988</a>
*/
String link() {
return "Link"
@@ -329,7 +329,7 @@ class HttpHeaders {
/**
* The HTTP {@code Location} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.1.2" > Section 7.1.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.1.2" > Section 7.1.2 of RFC 7231</a>
*/
String location() {
return "Location"
@@ -337,14 +337,14 @@ class HttpHeaders {
/**
* The HTTP {@code Max-Forwards} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.1.2" > Section 5.1.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.1.2" > Section 5.1.2 of RFC 7231</a>
*/
String max_forwards() {
return "Max-Forwards"
}
/**
* The HTTP {@code Origin} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc6454" > RFC 6454</a>
* @see <ahref="https://tools.ietf.org/html/rfc6454" > RFC 6454</a>
*/
String origin() {
return "Origin"
@@ -352,7 +352,7 @@ class HttpHeaders {
/**
* The HTTP {@code Pragma} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7234#section-5.4" > Section 5.4 of RFC 7234</a>
* @see <ahref="https://tools.ietf.org/html/rfc7234#section-5.4" > Section 5.4 of RFC 7234</a>
*/
String pragma() {
return "Pragma"
@@ -360,7 +360,7 @@ class HttpHeaders {
/**
* The HTTP {@code Proxy-Authenticate} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-4.3" > Section 4.3 of RFC 7235</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-4.3" > Section 4.3 of RFC 7235</a>
*/
String proxyAuthenticate() {
return "Proxy-Authenticate"
@@ -368,7 +368,7 @@ class HttpHeaders {
/**
* The HTTP {@code Proxy-Authorization} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-4.4" > Section 4.4 of RFC 7235</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-4.4" > Section 4.4 of RFC 7235</a>
*/
String proxyAuthorization() {
return "Proxy-Authorization"
@@ -376,7 +376,7 @@ class HttpHeaders {
/**
* The HTTP {@code Range} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-3.1" > Section 3.1 of RFC 7233</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-3.1" > Section 3.1 of RFC 7233</a>
*/
String range() {
return "Range"
@@ -384,7 +384,7 @@ class HttpHeaders {
/**
* The HTTP {@code Referer} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.5.2" > Section 5.5.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.5.2" > Section 5.5.2 of RFC 7231</a>
*/
String referer() {
return "Referer"
@@ -392,7 +392,7 @@ class HttpHeaders {
/**
* The HTTP {@code Retry-After} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.1.3" > Section 7.1.3 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.1.3" > Section 7.1.3 of RFC 7231</a>
*/
String retryAfter() {
return "Retry-After"
@@ -400,7 +400,7 @@ class HttpHeaders {
/**
* The HTTP {@code Server} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.4.2" > Section 7.4.2 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.4.2" > Section 7.4.2 of RFC 7231</a>
*/
String server() {
return "Server"
@@ -408,7 +408,7 @@ class HttpHeaders {
/**
* The HTTP {@code Set-Cookie} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc2109#section-4.2.2" > Section 4.2.2 of RFC 2109</a>
* @see <ahref="https://tools.ietf.org/html/rfc2109#section-4.2.2" > Section 4.2.2 of RFC 2109</a>
*/
String setCookie() {
return "Set-Cookie"
@@ -416,7 +416,7 @@ class HttpHeaders {
/**
* The HTTP {@code Set-Cookie2} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc2965" > RFC 2965</a>
* @see <ahref="https://tools.ietf.org/html/rfc2965" > RFC 2965</a>
*/
String setCookie2() {
return "Set-Cookie2"
@@ -424,7 +424,7 @@ class HttpHeaders {
/**
* The HTTP {@code TE} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-4.3" > Section 4.3 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-4.3" > Section 4.3 of RFC 7230</a>
*/
String te() {
return "TE"
@@ -432,7 +432,7 @@ class HttpHeaders {
/**
* The HTTP {@code Trailer} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-4.4" > Section 4.4 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-4.4" > Section 4.4 of RFC 7230</a>
*/
String trailer() {
return "Trailer"
@@ -440,7 +440,7 @@ class HttpHeaders {
/**
* The HTTP {@code Transfer-Encoding} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-3.3.1" > Section 3.3.1 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-3.3.1" > Section 3.3.1 of RFC 7230</a>
*/
String transferEncoding() {
return "Transfer-Encoding"
@@ -448,7 +448,7 @@ class HttpHeaders {
/**
* The HTTP {@code Upgrade} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-6.7" > Section 6.7 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-6.7" > Section 6.7 of RFC 7230</a>
*/
String upgrade() {
return "Upgrade"
@@ -456,7 +456,7 @@ class HttpHeaders {
/**
* The HTTP {@code User-Agent} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-5.5.3" > Section 5.5.3 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-5.5.3" > Section 5.5.3 of RFC 7231</a>
*/
String user_agent() {
return "User-Agent"
@@ -464,7 +464,7 @@ class HttpHeaders {
/**
* The HTTP {@code Vary} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-7.1.4" > Section 7.1.4 of RFC 7231</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-7.1.4" > Section 7.1.4 of RFC 7231</a>
*/
String vary() {
return "Vary"
@@ -472,7 +472,7 @@ class HttpHeaders {
/**
* The HTTP {@code Via} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7230#section-5.7.1" > Section 5.7.1 of RFC 7230</a>
* @see <ahref="https://tools.ietf.org/html/rfc7230#section-5.7.1" > Section 5.7.1 of RFC 7230</a>
*/
String via() {
return "Via"
@@ -480,7 +480,7 @@ class HttpHeaders {
/**
* The HTTP {@code Warning} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7234#section-5.5" > Section 5.5 of RFC 7234</a>
* @see <ahref="https://tools.ietf.org/html/rfc7234#section-5.5" > Section 5.5 of RFC 7234</a>
*/
String warning() {
return "Warning"
@@ -488,7 +488,7 @@ class HttpHeaders {
/**
* The HTTP {@code WWW-Authenticate} header field name.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-4.1" > Section 4.1 of RFC 7235</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-4.1" > Section 4.1 of RFC 7235</a>
*/
String wwwAuthenticate() {
return "WWW-Authenticate"

View File

@@ -33,7 +33,7 @@ class HttpStatus {
/**
* {@code 100 Continue}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.2.1" > HTTP/1.1: Semantics and Content, section 6.2.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.2.1" > HTTP/1.1: Semantics and Content, section 6.2.1</a>
*/
int CONTINUE() {
return 100
@@ -41,19 +41,19 @@ class HttpStatus {
/**
* {@code 101 Switching Protocols}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.2.2" > HTTP/1.1: Semantics and Content, section 6.2.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.2.2" > HTTP/1.1: Semantics and Content, section 6.2.2</a>
*/
int SWITCHING_PROTOCOLS() {
return 101
}
/**
* {@code 102 Processing}.
* @see <ahref="http://tools.ietf.org/html/rfc2518#section-10.1" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc2518#section-10.1" > WebDAV</a>
*/
int PROCESSING() { return 102 }
/**
* {@code 103 Checkpoint}.
* @see <ahref="http://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal" > A proposal for supporting
* @see <ahref="https://code.google.com/p/gears/wiki/ResumableHttpRequestsProposal" > A proposal for supporting
* resumable POST/PUT HTTP requests in HTTP/1.0</a>
*/
int CHECKPOINT() { return 103 }
@@ -62,52 +62,52 @@ class HttpStatus {
/**
* {@code 200 OK}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.1" > HTTP/1.1: Semantics and Content, section 6.3.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.1" > HTTP/1.1: Semantics and Content, section 6.3.1</a>
*/
int OK() { return 200 }
/**
* {@code 201 Created}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.2" > HTTP/1.1: Semantics and Content, section 6.3.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.2" > HTTP/1.1: Semantics and Content, section 6.3.2</a>
*/
int CREATED() { return 201 }
/**
* {@code 202 Accepted}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.3" > HTTP/1.1: Semantics and Content, section 6.3.3</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.3" > HTTP/1.1: Semantics and Content, section 6.3.3</a>
*/
int ACCEPTED() { return 202 }
/**
* {@code 203 Non-Authoritative Information}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.4" > HTTP/1.1: Semantics and Content, section 6.3.4</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.4" > HTTP/1.1: Semantics and Content, section 6.3.4</a>
*/
int NON_AUTHORITATIVE_INFORMATION() { return 203 }
/**
* {@code 204 No Content}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.5" > HTTP/1.1: Semantics and Content, section 6.3.5</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.5" > HTTP/1.1: Semantics and Content, section 6.3.5</a>
*/
int NO_CONTENT() { return 204 }
/**
* {@code 205 Reset Content}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.3.6" > HTTP/1.1: Semantics and Content, section 6.3.6</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.3.6" > HTTP/1.1: Semantics and Content, section 6.3.6</a>
*/
int RESET_CONTENT() { return 205 }
/**
* {@code 206 Partial Content}.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-4.1" > HTTP/1.1: Range Requests, section 4.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-4.1" > HTTP/1.1: Range Requests, section 4.1</a>
*/
int PARTIAL_CONTENT() { return 206 }
/**
* {@code 207 Multi-Status}.
* @see <ahref="http://tools.ietf.org/html/rfc4918#section-13" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc4918#section-13" > WebDAV</a>
*/
int MULTI_STATUS() { return 207 }
/**
* {@code 208 Already Reported}.
* @see <ahref="http://tools.ietf.org/html/rfc5842#section-7.1" > WebDAV Binding Extensions</a>
* @see <ahref="https://tools.ietf.org/html/rfc5842#section-7.1" > WebDAV Binding Extensions</a>
*/
int ALREADY_REPORTED() { return 208 }
/**
* {@code 226 IM Used}.
* @see <ahref="http://tools.ietf.org/html/rfc3229#section-10.4.1" > Delta encoding in HTTP</a>
* @see <ahref="https://tools.ietf.org/html/rfc3229#section-10.4.1" > Delta encoding in HTTP</a>
*/
int IM_USED() { return 226 }
@@ -115,51 +115,51 @@ class HttpStatus {
/**
* {@code 300 Multiple Choices}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.1" > HTTP/1.1: Semantics and Content, section 6.4.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.1" > HTTP/1.1: Semantics and Content, section 6.4.1</a>
*/
int MULTIPLE_CHOICES() { return 300 }
/**
* {@code 301 Moved Permanently}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.2" > HTTP/1.1: Semantics and Content, section 6.4.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.2" > HTTP/1.1: Semantics and Content, section 6.4.2</a>
*/
int MOVED_PERMANENTLY() { return 301 }
/**
* {@code 302 Found}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.3" > HTTP/1.1: Semantics and Content, section 6.4.3</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.3" > HTTP/1.1: Semantics and Content, section 6.4.3</a>
*/
int FOUND() { return 302 }
/**
* {@code 302 Moved Temporarily}.
* @see <ahref="http://tools.ietf.org/html/rfc1945#section-9.3" > HTTP/1.0, section 9.3</a>
* @see <ahref="https://tools.ietf.org/html/rfc1945#section-9.3" > HTTP/1.0, section 9.3</a>
* @deprecated in favor of {@link #FOUND} which will be returned from {@code HttpStatus.valueOf(302)}
*/
@Deprecated
int MOVED_TEMPORARILY() { return 302 }
/**
* {@code 303 See Other}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.4" > HTTP/1.1: Semantics and Content, section 6.4.4</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.4" > HTTP/1.1: Semantics and Content, section 6.4.4</a>
*/
int SEE_OTHER() { return 303 }
/**
* {@code 304 Not Modified}.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-4.1" > HTTP/1.1: Conditional Requests, section 4.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-4.1" > HTTP/1.1: Conditional Requests, section 4.1</a>
*/
int NOT_MODIFIED() { return 304 }
/**
* {@code 305 Use Proxy}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.5" > HTTP/1.1: Semantics and Content, section 6.4.5</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.5" > HTTP/1.1: Semantics and Content, section 6.4.5</a>
* @deprecated due to security concerns regarding in-band configuration of a proxy
*/
@Deprecated
int USE_PROXY() { return 305 }
/**
* {@code 307 Temporary Redirect}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.4.7" > HTTP/1.1: Semantics and Content, section 6.4.7</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.4.7" > HTTP/1.1: Semantics and Content, section 6.4.7</a>
*/
int TEMPORARY_REDIRECT() { return 307 }
/**
* {@code 308 Permanent Redirect}.
* @see <ahref="http://tools.ietf.org/html/rfc7238" > RFC 7238</a>
* @see <ahref="https://tools.ietf.org/html/rfc7238" > RFC 7238</a>
*/
int PERMANENT_REDIRECT() { return 308 }
@@ -167,161 +167,161 @@ class HttpStatus {
/**
* {@code 400 Bad Request}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.1" > HTTP/1.1: Semantics and Content, section 6.5.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.1" > HTTP/1.1: Semantics and Content, section 6.5.1</a>
*/
int BAD_REQUEST() { return 400 }
/**
* {@code 401 Unauthorized}.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-3.1" > HTTP/1.1: Authentication, section 3.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-3.1" > HTTP/1.1: Authentication, section 3.1</a>
*/
int UNAUTHORIZED() { return 401 }
/**
* {@code 402 Payment Required}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.2" > HTTP/1.1: Semantics and Content, section 6.5.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.2" > HTTP/1.1: Semantics and Content, section 6.5.2</a>
*/
int PAYMENT_REQUIRED() { return 402 }
/**
* {@code 403 Forbidden}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.3" > HTTP/1.1: Semantics and Content, section 6.5.3</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.3" > HTTP/1.1: Semantics and Content, section 6.5.3</a>
*/
int FORBIDDEN() { return 403 }
/**
* {@code 404 Not Found}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.4" > HTTP/1.1: Semantics and Content, section 6.5.4</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.4" > HTTP/1.1: Semantics and Content, section 6.5.4</a>
*/
int NOT_FOUND() { return 404 }
/**
* {@code 405 Method Not Allowed}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.5" > HTTP/1.1: Semantics and Content, section 6.5.5</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.5" > HTTP/1.1: Semantics and Content, section 6.5.5</a>
*/
int METHOD_NOT_ALLOWED() { return 405 }
/**
* {@code 406 Not Acceptable}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.6" > HTTP/1.1: Semantics and Content, section 6.5.6</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.6" > HTTP/1.1: Semantics and Content, section 6.5.6</a>
*/
int NOT_ACCEPTABLE() { return 406 }
/**
* {@code 407 Proxy Authentication Required}.
* @see <ahref="http://tools.ietf.org/html/rfc7235#section-3.2" > HTTP/1.1: Authentication, section 3.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7235#section-3.2" > HTTP/1.1: Authentication, section 3.2</a>
*/
int PROXY_AUTHENTICATION_REQUIRED() { return 407 }
/**
* {@code 408 Request Timeout}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.7" > HTTP/1.1: Semantics and Content, section 6.5.7</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.7" > HTTP/1.1: Semantics and Content, section 6.5.7</a>
*/
int REQUEST_TIMEOUT() { return 408 }
/**
* {@code 409 Conflict}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.8" > HTTP/1.1: Semantics and Content, section 6.5.8</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.8" > HTTP/1.1: Semantics and Content, section 6.5.8</a>
*/
int CONFLICT() { return 409 }
/**
* {@code 410 Gone}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.9" > HTTP/1.1: Semantics and Content, section 6.5.9</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.9" > HTTP/1.1: Semantics and Content, section 6.5.9</a>
*/
int GONE() { return 410 }
/**
* {@code 411 Length Required}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.10" > HTTP/1.1: Semantics and Content, section 6.5.10</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.10" > HTTP/1.1: Semantics and Content, section 6.5.10</a>
*/
int LENGTH_REQUIRED() { return 411 }
/**
* {@code 412 Precondition failed}.
* @see <ahref="http://tools.ietf.org/html/rfc7232#section-4.2" > HTTP/1.1: Conditional Requests, section 4.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7232#section-4.2" > HTTP/1.1: Conditional Requests, section 4.2</a>
*/
int PRECONDITION_FAILED() { return 412 }
/**
* {@code 413 Payload Too Large}.
* @since 4.1* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.11" > HTTP/1.1: Semantics and Content, section 6.5.11</a>
* @since 4.1* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.11" > HTTP/1.1: Semantics and Content, section 6.5.11</a>
*/
int PAYLOAD_TOO_LARGE() { return 413 }
/**
* {@code 413 Request Entity Too Large}.
* @see <ahref="http://tools.ietf.org/html/rfc2616#section-10.4.14" > HTTP/1.1, section 10.4.14</a>
* @see <ahref="https://tools.ietf.org/html/rfc2616#section-10.4.14" > HTTP/1.1, section 10.4.14</a>
* @deprecated in favor of {@link #PAYLOAD_TOO_LARGE} which will be returned from {@code HttpStatus.valueOf(413)}
*/
@Deprecated
int REQUEST_ENTITY_TOO_LARGE() { return 413 }
/**
* {@code 414 URI Too Long}.
* @since 4.1* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.12" > HTTP/1.1: Semantics and Content, section 6.5.12</a>
* @since 4.1* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.12" > HTTP/1.1: Semantics and Content, section 6.5.12</a>
*/
int URI_TOO_LONG() { return 414 }
/**
* {@code 414 Request-URI Too Long}.
* @see <ahref="http://tools.ietf.org/html/rfc2616#section-10.4.15" > HTTP/1.1, section 10.4.15</a>
* @see <ahref="https://tools.ietf.org/html/rfc2616#section-10.4.15" > HTTP/1.1, section 10.4.15</a>
* @deprecated in favor of {@link #URI_TOO_LONG} which will be returned from {@code HttpStatus.valueOf(414)}
*/
@Deprecated
int REQUEST_URI_TOO_LONG() { return 414 }
/**
* {@code 415 Unsupported Media Type}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.13" > HTTP/1.1: Semantics and Content, section 6.5.13</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.13" > HTTP/1.1: Semantics and Content, section 6.5.13</a>
*/
int UNSUPPORTED_MEDIA_TYPE() { return 415 }
/**
* {@code 416 Requested Range Not Satisfiable}.
* @see <ahref="http://tools.ietf.org/html/rfc7233#section-4.4" > HTTP/1.1: Range Requests, section 4.4</a>
* @see <ahref="https://tools.ietf.org/html/rfc7233#section-4.4" > HTTP/1.1: Range Requests, section 4.4</a>
*/
int REQUESTED_RANGE_NOT_SATISFIABLE() { return 416 }
/**
* {@code 417 Expectation Failed}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.5.14" > HTTP/1.1: Semantics and Content, section 6.5.14</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.5.14" > HTTP/1.1: Semantics and Content, section 6.5.14</a>
*/
int EXPECTATION_FAILED() { return 417 }
/**
* {@code 418 I'm a teapot}.
* @see <ahref="http://tools.ietf.org/html/rfc2324#section-2.3.2" > HTCPCP/1.0</a>
* @see <ahref="https://tools.ietf.org/html/rfc2324#section-2.3.2" > HTCPCP/1.0</a>
*/
int I_AM_A_TEAPOT() { return 418 }
/**
* @deprecated See <a href="http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
* @deprecated See <a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
*/
@Deprecated
int INSUFFICIENT_SPACE_ON_RESOURCE() { return 419 }
/**
* @deprecated See <a href="http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
* @deprecated See <a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
*/
@Deprecated
int METHOD_FAILURE() { return 420 }
/**
* @deprecated See <a href="http://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
* @deprecated See <a href="https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt">WebDAV Draft Changes</a>
*/
@Deprecated
int DESTINATION_LOCKED() { return 421 }
/**
* {@code 422 Unprocessable Entity}.
* @see <ahref="http://tools.ietf.org/html/rfc4918#section-11.2" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc4918#section-11.2" > WebDAV</a>
*/
int UNPROCESSABLE_ENTITY() { return 422 }
/**
* {@code 423 Locked}.
* @see <ahref="http://tools.ietf.org/html/rfc4918#section-11.3" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc4918#section-11.3" > WebDAV</a>
*/
int LOCKED() { return 423 }
/**
* {@code 424 Failed Dependency}.
* @see <ahref="http://tools.ietf.org/html/rfc4918#section-11.4" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc4918#section-11.4" > WebDAV</a>
*/
int FAILED_DEPENDENCY() { return 424 }
/**
* {@code 426 Upgrade Required}.
* @see <ahref="http://tools.ietf.org/html/rfc2817#section-6" > Upgrading to TLS Within HTTP/1.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc2817#section-6" > Upgrading to TLS Within HTTP/1.1</a>
*/
int UPGRADE_REQUIRED() { return 426 }
/**
* {@code 428 Precondition Required}.
* @see <ahref="http://tools.ietf.org/html/rfc6585#section-3" > Additional HTTP Status Codes</a>
* @see <ahref="https://tools.ietf.org/html/rfc6585#section-3" > Additional HTTP Status Codes</a>
*/
int PRECONDITION_REQUIRED() { return 428 }
/**
* {@code 429 Too Many Requests}.
* @see <ahref="http://tools.ietf.org/html/rfc6585#section-4" > Additional HTTP Status Codes</a>
* @see <ahref="https://tools.ietf.org/html/rfc6585#section-4" > Additional HTTP Status Codes</a>
*/
int TOO_MANY_REQUESTS() { return 429 }
/**
* {@code 431 Request Header Fields Too Large}.
* @see <ahref="http://tools.ietf.org/html/rfc6585#section-5" > Additional HTTP Status Codes</a>
* @see <ahref="https://tools.ietf.org/html/rfc6585#section-5" > Additional HTTP Status Codes</a>
*/
int REQUEST_HEADER_FIELDS_TOO_LARGE() { return 431 }
/**
@@ -336,47 +336,47 @@ class HttpStatus {
/**
* {@code 500 Internal Server Error}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.1" > HTTP/1.1: Semantics and Content, section 6.6.1</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.1" > HTTP/1.1: Semantics and Content, section 6.6.1</a>
*/
int INTERNAL_SERVER_ERROR() { return 500 }
/**
* {@code 501 Not Implemented}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.2" > HTTP/1.1: Semantics and Content, section 6.6.2</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.2" > HTTP/1.1: Semantics and Content, section 6.6.2</a>
*/
int NOT_IMPLEMENTED() { return 501 }
/**
* {@code 502 Bad Gateway}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.3" > HTTP/1.1: Semantics and Content, section 6.6.3</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.3" > HTTP/1.1: Semantics and Content, section 6.6.3</a>
*/
int BAD_GATEWAY() { return 502 }
/**
* {@code 503 Service Unavailable}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.4" > HTTP/1.1: Semantics and Content, section 6.6.4</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.4" > HTTP/1.1: Semantics and Content, section 6.6.4</a>
*/
int SERVICE_UNAVAILABLE() { return 503 }
/**
* {@code 504 Gateway Timeout}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.5" > HTTP/1.1: Semantics and Content, section 6.6.5</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.5" > HTTP/1.1: Semantics and Content, section 6.6.5</a>
*/
int GATEWAY_TIMEOUT() { return 504 }
/**
* {@code 505 HTTP Version Not Supported}.
* @see <ahref="http://tools.ietf.org/html/rfc7231#section-6.6.6" > HTTP/1.1: Semantics and Content, section 6.6.6</a>
* @see <ahref="https://tools.ietf.org/html/rfc7231#section-6.6.6" > HTTP/1.1: Semantics and Content, section 6.6.6</a>
*/
int HTTP_VERSION_NOT_SUPPORTED() { return 505 }
/**
* {@code 506 Variant Also Negotiates}
* @see <ahref="http://tools.ietf.org/html/rfc2295#section-8.1" > Transparent Content Negotiation</a>
* @see <ahref="https://tools.ietf.org/html/rfc2295#section-8.1" > Transparent Content Negotiation</a>
*/
int VARIANT_ALSO_NEGOTIATES() { return 506 }
/**
* {@code 507 Insufficient Storage}
* @see <ahref="http://tools.ietf.org/html/rfc4918#section-11.5" > WebDAV</a>
* @see <ahref="https://tools.ietf.org/html/rfc4918#section-11.5" > WebDAV</a>
*/
int INSUFFICIENT_STORAGE() { return 507 }
/**
* {@code 508 Loop Detected}
* @see <ahref="http://tools.ietf.org/html/rfc5842#section-7.2" > WebDAV Binding Extensions</a>
* @see <ahref="https://tools.ietf.org/html/rfc5842#section-7.2" > WebDAV Binding Extensions</a>
*/
int LOOP_DETECTED() { return 508 }
/**
@@ -385,12 +385,12 @@ class HttpStatus {
int BANDWIDTH_LIMIT_EXCEEDED() { return 509 }
/**
* {@code 510 Not Extended}
* @see <ahref="http://tools.ietf.org/html/rfc2774#section-7" > HTTP Extension Framework</a>
* @see <ahref="https://tools.ietf.org/html/rfc2774#section-7" > HTTP Extension Framework</a>
*/
int NOT_EXTENDED() { return 510 }
/**
* {@code 511 Network Authentication Required}.
* @see <ahref="http://tools.ietf.org/html/rfc6585#section-6" > Additional HTTP Status Codes</a>
* @see <ahref="https://tools.ietf.org/html/rfc6585#section-6" > Additional HTTP Status Codes</a>
*/
int NETWORK_AUTHENTICATION_REQUIRED() { return 511 }
}

View File

@@ -109,7 +109,7 @@ abstract class PatternValueDslProperty<T extends DslProperty> implements RegexCr
@Override
T anyHostname() {
return createAndValidateProperty(RegexPatterns.HOSTNAME_PATTERN, "http://foo"
return createAndValidateProperty(RegexPatterns.HOSTNAME_PATTERN, "https://foo"
+ this.random.
nextInt()
+ ".com")
@@ -125,7 +125,7 @@ abstract class PatternValueDslProperty<T extends DslProperty> implements RegexCr
@Override
T anyUrl() {
return createAndValidateProperty(RegexPatterns.URL, "http://foo"
return createAndValidateProperty(RegexPatterns.URL, "https://foo"
+ this.random.
nextInt()
+ ".com")

View File

@@ -188,7 +188,7 @@ class UrlHelper {
// Examples: "fitbit.com", "22.231.113.64", "localhost"
private static final String REGEX_HOST = "(?:" +
// @Author = http://www.regular-expressions.info/examples.html
// @Author = https://www.regular-expressions.info/examples.html
// IP address
"(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" +
"|" +

View File

@@ -54,78 +54,78 @@ class RegexPatternsSpec extends Specification {
'asdf@asdf.online' || true
}
// @see http://formvalidation.io/validators/uri/
// @see https://formvalidation.io/validators/uri/
def "should generate a regex for url [#textToMatch] that is a match [#shouldMatch]"() {
expect:
shouldMatch == regexPatterns.url().matcher(textToMatch).matches()
where:
textToMatch || shouldMatch
'ftp://asd.com:9090/asd/a?a=b' || true
'http://foo.com/blah_blah' || true
'http://www.foo.com/' || true
'ftp://localhost/api' || true
'http://localhost:8080/api' || true
'http://foo.com/blah_blah/' || true
'http://foo.com/blah_blah_(wikipedia)' || true
'http://foo.com/blah_blah_(wikipedia)_(again)' || true
'http://www.example.com/wpstyle/?p=364' || true
'http://www.foo.com/' || true
'http://www.foo.com/(wikipedia)' || true
'http://www.foo.com/(wikipedia)_(again)' || true
'https://www.example.com/wpstyle/?p=364' || true
'https://www.example.com/foo/?bar=baz&inga=42&quux' || true
'http://✪df.ws/123' || true
'http://userid:password@example.com:8080' || true
'http://userid:password@example.com:8080/' || true
'http://userid@example.com' || true
'http://userid@example.com/' || true
'http://userid@example.com:8080' || true
'http://userid@example.com:8080/' || true
'http://userid:password@example.com' || true
'http://userid:password@example.com/' || true
'http://142.42.1.1/' || true
'http://142.42.1.1:8080/' || true
'https://userid:password@example.com:8080' || true
'https://userid:password@example.com:8080/' || true
'https://userid@example.com' || true
'https://userid@example.com/' || true
'https://userid@example.com:8080' || true
'https://userid@example.com:8080/' || true
'https://userid:password@example.com' || true
'https://userid:password@example.com/' || true
'https://142.42.1.1/' || true
'https://142.42.1.1:8080/' || true
'http://⌘.ws' || true
'http://⌘.ws/' || true
'http://foo.com/blah_(wikipedia)#cite-1' || true
'http://foo.com/blah_(wikipedia)_blah#cite-1' || true
'http://foo.com/unicode_(✪)_in_parens' || true
'http://foo.com/(something)?after=parens' || true
'http://www.foo.com/(wikipedia)#cite-1' || true
'http://www.foo.com/(wikipedia)_blah#cite-1' || true
'http://www.foo.com/(✪)_in_parens' || true
'http://www.foo.com/(something)?after=parens' || true
'http://☺.damowmow.com/' || true
'http://code.google.com/events/#&product=browser' || true
'http://j.mp' || true
'https://code.google.com/events/#&product=browser' || true
'https://j.mp' || true
'ftp://foo.bar/baz' || true
'http://foo.bar/?q=Test%20URL-encoded%20stuff' || true
'https://foo.bar/?q=Test%20URL-encoded%20stuff' || true
'http://1337.net' || true
'http://a.b-c.de' || true
'http://223.255.255.254' || true
'https://a.b-c.de' || true
'https://223.255.255.254' || true
'foo.com' || true
'a.b.' || false
'http://' || false
'http://.' || false
'http://..' || false
'http://../' || false
'https://../' || false
'http://?' || false
'http://??' || false
'http://??/' || false
'https://??/' || false
'http://#' || false
'http://##' || false
'http://##/' || false
'http://foo.bar?q=Spaces should be encoded' || false
'https://foo.bar?q=Spaces should be encoded' || false
'//' || false
'//a' || false
'///a' || false
'///' || false
'http:///a' || false
'https:///a' || false
'rdar://1234' || false
'h://test' || false
'http:// shouldfail.com' || false
':// should fail' || false
'http://foo.bar/foo(bar)baz quux' || false
'http://-error-.invalid/' || false
'http://-a.b.co' || false
'http://a.b-.co' || false
'http://1.1.1.1.1' || false
'http://123.123.123' || false
'http://3628126748' || false
'http://.www.foo.bar/' || false
'http://www.foo.bar./' || false
'http://.www.foo.bar./' || false
'https://foo.bar/foo(bar)baz quux' || false
'https://-error-.invalid/' || false
'https://-a.b.co' || false
'https://a.b-.co' || false
'https://1.1.1.1.1' || false
'https://123.123.123' || false
'https://3628126748' || false
'https://.www.foo.bar/' || false
'https://www.foo.bar./' || false
'https://.www.foo.bar./' || false
}
def "should generate a regex for httpsUrl [#textToMatch] that is a match [#shouldMatch]"() {
@@ -136,8 +136,8 @@ class RegexPatternsSpec extends Specification {
'ftp://asd.com:9090/asd/a?a=b' || false
'https://foo.com/blah_blah/' || true
'https://foo.com/blah_blah' || true
'http://foo.com/blah_blah' || false
'http://foo.com/blah_blah/' || false
'http://www.foo.com/' || false
'http://www.foo.com/' || false
'https://foo.com/blah_blah_(wikipedia)' || true
'https://foo.com/blah_blah_(wikipedia)_(again)' || true
'https://www.example.com/wpstyle/?p=364' || true