org.jboss.resteasy.spi
Class Link

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

public class Link
extends Object

Implementation of Link Headers v6

Version:
$Revision: 1 $
Author:
Bill Burke

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

Field Detail

title

protected String title

relationship

protected String relationship

href

protected String href

type

protected String type

extensions

protected MultivaluedMap<String,String> extensions

executor

protected ClientExecutor executor
Constructor Detail

Link

public Link()

Link

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

getRelationship

public String getRelationship()

setRelationship

public void setRelationship(String relationship)

getHref

public String getHref()

setHref

public void setHref(String href)

getType

public String getType()

setType

public void setType(String type)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getExtensions

public MultivaluedMap<String,String> getExtensions()

getExecutor

public ClientExecutor getExecutor()

setExecutor

public void setExecutor(ClientExecutor executor)

request

public ClientRequest request()

request

public ClientRequest request(ClientExecutor executor)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.