Project Wonder 5.0

er.rest.entityDelegates
Class ERXRestRequest

java.lang.Object
  extended by er.rest.entityDelegates.ERXRestRequest

public class ERXRestRequest
extends java.lang.Object

ERXRestRequest encapsulates the state of a rest request.

Author:
mschrag

Constructor Summary
ERXRestRequest(ERXRestContext context, ERXRestRequestNode rootNode, java.lang.String requestPath)
           
ERXRestRequest(ERXRestKey key, ERXRestRequestNode rootNode)
          Constructs a new REST request.
 
Method Summary
 ERXRestKey key()
          Returns the last key in the requested key path.
 ERXRestRequestNode rootNode()
          Returns the root node of the request document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXRestRequest

public ERXRestRequest(ERXRestContext context,
                      ERXRestRequestNode rootNode,
                      java.lang.String requestPath)
               throws ERXRestException,
                      ERXRestNotFoundException
Throws:
ERXRestException
ERXRestNotFoundException

ERXRestRequest

public ERXRestRequest(ERXRestKey key,
                      ERXRestRequestNode rootNode)
Constructs a new REST request.

Parameters:
key - the last key in the requested keypath
rootNode - the root node of the request document
Method Detail

key

public ERXRestKey key()
Returns the last key in the requested key path.

Returns:
the last key in the requested key path

rootNode

public ERXRestRequestNode rootNode()
Returns the root node of the request document.

Returns:
the root node of the request document

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.