org.jboss.resteasy.spi
Class Link

java.lang.Object
  extended by org.jboss.resteasy.spi.Link

public class Link
extends java.lang.Object

Implementation of Link Headers v6

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  MultivaluedMap<java.lang.String,java.lang.String> extensions
           
protected  java.lang.String href
           
protected  java.lang.String relationship
           
protected  java.lang.String title
           
protected  java.lang.String type
           
 
Constructor Summary
Link()
           
Link(java.lang.String title, java.lang.String relationship, java.lang.String href, java.lang.String type, MultivaluedMap<java.lang.String,java.lang.String> extensions)
           
 
Method Summary
 MultivaluedMap<java.lang.String,java.lang.String> getExtensions()
           
 java.lang.String getHref()
           
 java.lang.String getRelationship()
           
 java.lang.String getTitle()
           
 java.lang.String getType()
           
 ClientRequest request()
           
 ClientRequest request(ClientExecutor executor)
           
 void setHref(java.lang.String href)
           
 void setRelationship(java.lang.String relationship)
           
 void setTitle(java.lang.String title)
           
 void setType(java.lang.String type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

protected java.lang.String title

relationship

protected java.lang.String relationship

href

protected java.lang.String href

type

protected java.lang.String type

extensions

protected MultivaluedMap<java.lang.String,java.lang.String> extensions
Constructor Detail

Link

public Link()

Link

public Link(java.lang.String title,
            java.lang.String relationship,
            java.lang.String href,
            java.lang.String type,
            MultivaluedMap<java.lang.String,java.lang.String> extensions)
Method Detail

getRelationship

public java.lang.String getRelationship()

setRelationship

public void setRelationship(java.lang.String relationship)

getHref

public java.lang.String getHref()

setHref

public void setHref(java.lang.String href)

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getExtensions

public MultivaluedMap<java.lang.String,java.lang.String> getExtensions()

request

public ClientRequest request()

request

public ClientRequest request(ClientExecutor executor)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.