org.glassfish.jersey.examples.shortener.webapp.validation
Annotation Type ShortenLink
@Retention(value=RUNTIME)
@Constraint(validatedBy=ShortenLink.Validator.class)
@URL
@NotBlank
public @interface ShortenLink
Checks whether the given URL to create a shortened link for is valid (see URL and NotBlank).
- Author:
- Michal Gajdos (michal.gajdos at oracle.com)
message
public abstract String message
- Default:
- "{not.valid.url}"
groups
public abstract Class<?>[] groups
- Default:
- {}
payload
public abstract Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.