ERXRestClient Class Reference

Collaboration diagram for ERXRestClient:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String baseURL ()
ERXRestRequestNode create (Object obj, ERXKeyFilter filter, String entityName, String id, String action, ERXRestFormat format) throws HttpException, IOException
ERXRestRequestNode createObjectWithPath (Object obj, ERXKeyFilter filter, String path, ERXRestFormat format) throws HttpException, IOException
IERXRestDelegate delegate ()
ERXRestRequestNode delete (Object obj, String entityName, String id, String action, ERXRestFormat format) throws HttpException, IOException
ERXRestRequestNode deleteObjectWithPath (Object obj, String path, ERXRestFormat format) throws HttpException, IOException
 ERXRestClient (String baseURL, IERXRestDelegate delegate)
 ERXRestClient (String baseURL, IERXRestDelegate delegate, boolean classDescriptionRequired)
HttpClient httpClient ()
boolean isClassDescriptionRequired ()
void setBaseURL (String baseURL)
void setClassDescriptionRequired (boolean classDescriptionRequired)
void setDelegate (IERXRestDelegate delegate)
ERXRestRequestNode update (Object obj, ERXKeyFilter filter, String entityName, String id, String action, ERXRestFormat format) throws HttpException, IOException
ERXRestRequestNode updateObjectWithPath (Object obj, ERXKeyFilter filter, String path, ERXRestFormat format) throws HttpException, IOException

Protected Member Functions

Object _objectWithRequestNode (ERXRestRequestNode node, String entityName)
String path (String entityName, String id, String action, ERXRestFormat format)
ERXRestRequestNode requestNodeWithMethod (HttpMethodBase method, ERXRestFormat format) throws IOException
ERXRestRequestNode requestNodeWithMethod (HttpMethodBase method) throws IOException

Package Functions

public< T > T object (String entityName, String id, String action, ERXRestFormat format) throws HttpException, IOException
public< T > T objectWithPath (String path) throws HttpException, IOException
public< T > T objectWithPath (String path, String entityName) throws HttpException, IOException
public< T > T objectWithRequestNode (ERXRestRequestNode node, String entityName)
public< T > T objectWithRequestNode (ERXRestRequestNode node)

Private Attributes

String _baseURL
boolean _classDescriptionRequired
IERXRestDelegate _delegate
HttpClient _httpClient = null


Constructor & Destructor Documentation

ERXRestClient ( String  baseURL,
IERXRestDelegate  delegate,
boolean  classDescriptionRequired 
)

ERXRestClient ( String  baseURL,
IERXRestDelegate  delegate 
)


Member Function Documentation

Object _objectWithRequestNode ( ERXRestRequestNode  node,
String  entityName 
) [protected]

String baseURL (  ) 

ERXRestRequestNode create ( Object  obj,
ERXKeyFilter  filter,
String  entityName,
String  id,
String  action,
ERXRestFormat  format 
) throws HttpException, IOException

ERXRestRequestNode createObjectWithPath ( Object  obj,
ERXKeyFilter  filter,
String  path,
ERXRestFormat  format 
) throws HttpException, IOException

IERXRestDelegate delegate (  ) 

ERXRestRequestNode delete ( Object  obj,
String  entityName,
String  id,
String  action,
ERXRestFormat  format 
) throws HttpException, IOException

ERXRestRequestNode deleteObjectWithPath ( Object  obj,
String  path,
ERXRestFormat  format 
) throws HttpException, IOException

HttpClient httpClient (  ) 

boolean isClassDescriptionRequired (  ) 

public<T> T object ( String  entityName,
String  id,
String  action,
ERXRestFormat  format 
) throws HttpException, IOException [package]

public<T> T objectWithPath ( String  path  )  throws HttpException, IOException [package]

public<T> T objectWithPath ( String  path,
String  entityName 
) throws HttpException, IOException [package]

public<T> T objectWithRequestNode ( ERXRestRequestNode  node,
String  entityName 
) [package]

public<T> T objectWithRequestNode ( ERXRestRequestNode  node  )  [package]

String path ( String  entityName,
String  id,
String  action,
ERXRestFormat  format 
) [protected]

ERXRestRequestNode requestNodeWithMethod ( HttpMethodBase  method,
ERXRestFormat  format 
) throws IOException [protected]

ERXRestRequestNode requestNodeWithMethod ( HttpMethodBase  method  )  throws IOException [protected]

void setBaseURL ( String  baseURL  ) 

void setClassDescriptionRequired ( boolean  classDescriptionRequired  ) 

void setDelegate ( IERXRestDelegate  delegate  ) 

ERXRestRequestNode update ( Object  obj,
ERXKeyFilter  filter,
String  entityName,
String  id,
String  action,
ERXRestFormat  format 
) throws HttpException, IOException

ERXRestRequestNode updateObjectWithPath ( Object  obj,
ERXKeyFilter  filter,
String  path,
ERXRestFormat  format 
) throws HttpException, IOException


Member Data Documentation

String _baseURL [private]

boolean _classDescriptionRequired [private]

HttpClient _httpClient = null [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:28 2012 for Project Wonder by  doxygen 1.5.8