org.jboss.resteasy.plugins.providers.atom
Class RelativeLink

java.lang.Object
  extended by org.jboss.resteasy.plugins.providers.atom.CommonAttributes
      extended by org.jboss.resteasy.plugins.providers.atom.Link
          extended by org.jboss.resteasy.plugins.providers.atom.RelativeLink

public class RelativeLink
extends Link

If invoked within the context of a JAX-RS call, it will automatically build a URI based the base URI of the JAX-RS application. Same URI as UriInfo.getRequestUri().

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
 
Fields inherited from class org.jboss.resteasy.plugins.providers.atom.Link
href, hreflang, length, rel, title, type
 
Constructor Summary
RelativeLink()
           
RelativeLink(java.lang.String rel, java.lang.String relativeLink)
           
RelativeLink(java.lang.String rel, java.lang.String relativeLink, MediaType mediaType)
           
RelativeLink(java.lang.String rel, java.lang.String relativeLink, java.lang.String mediaType)
           
 
Method Summary
 
Methods inherited from class org.jboss.resteasy.plugins.providers.atom.Link
getHref, getHreflang, getLength, getRel, getTitle, getType, setHref, setHreflang, setLength, setRel, setTitle, setType
 
Methods inherited from class org.jboss.resteasy.plugins.providers.atom.CommonAttributes
getBase, getExtensionAttributes, getLanguage, setBase, setLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelativeLink

public RelativeLink()

RelativeLink

public RelativeLink(java.lang.String rel,
                    java.lang.String relativeLink)

RelativeLink

public RelativeLink(java.lang.String rel,
                    java.lang.String relativeLink,
                    MediaType mediaType)

RelativeLink

public RelativeLink(java.lang.String rel,
                    java.lang.String relativeLink,
                    java.lang.String mediaType)


Copyright © 2009. All Rights Reserved.