Class SimpleNdrRequest

java.lang.Object
org.dlese.dpc.ndr.request.SimpleNdrRequest
Direct Known Subclasses:
FindResourceRequest, GetRequest, NdrRequest

public class SimpleNdrRequest extends Object
Class to communiate directly with NDR via NDRConnection with no payload (url only - no InputXML object).
Version:
$Id: SimpleNdrRequest.java,v 1.8 2007/12/05 22:36:14 ostwald Exp $
Author:
Jonathan Ostwald
  • Field Details

    • verbose

      protected static boolean verbose
      NOT YET DOCUMENTED
    • verb

      protected String verb
      NOT YET DOCUMENTED
    • handle

      protected String handle
      NOT YET DOCUMENTED
    • requestAgent

      protected String requestAgent
      NOT YET DOCUMENTED
  • Constructor Details

    • SimpleNdrRequest

      public SimpleNdrRequest()
      Constructor for the SimpleNdrRequest object
    • SimpleNdrRequest

      public SimpleNdrRequest(String verb)
      Constructor for the SimpleNdrRequest object with specified verb.
      Parameters:
      verb - NOT YET DOCUMENTED
    • SimpleNdrRequest

      public SimpleNdrRequest(String verb, String handle)
      Constructor for the SimpleNdrRequest object with specified verb and handle.
      Parameters:
      verb - NOT YET DOCUMENTED
      handle - NOT YET DOCUMENTED
  • Method Details

    • setVerb

      public void setVerb(String verb)
      Sets the verb attribute of the SimpleNdrRequest object
      Parameters:
      verb - The new verb value
    • getVerb

      public String getVerb()
      Gets the verb attribute of the SimpleNdrRequest object
      Returns:
      The verb value
    • setRequestAgent

      public void setRequestAgent(String handle)
      Sets the requestAgent attribute of the SimpleNdrRequest object
      Parameters:
      handle - The new requestAgent value
    • getRequestAgent

      public String getRequestAgent()
      Gets the requestAgent attribute of the SimpleNdrRequest object
      Returns:
      The requestAgent value
    • setHandle

      public void setHandle(String handle)
      Sets the handle attribute of the SimpleNdrRequest object
      Parameters:
      handle - The new handle value
    • getHandle

      public String getHandle()
      Gets the handle attribute of the SimpleNdrRequest object
      Returns:
      The handle value
    • getNDRConnection

      protected NDRConnection getNDRConnection(String path) throws Exception
      Instantiates and initializes an NDRConnection for communicating with the NDR server.
      Parameters:
      path - NOT YET DOCUMENTED
      Returns:
      The nDRConnection value
      Throws:
      Exception - NOT YET DOCUMENTED
    • makePath

      protected String makePath() throws Exception
      Throws:
      Exception
    • submit

      public InfoXML submit() throws Exception
      NOT YET DOCUMENTED
      Returns:
      NOT YET DOCUMENTED
      Throws:
      Exception - NOT YET DOCUMENTED
    • submit

      public InfoXML submit(String path) throws Exception
      NOT YET DOCUMENTED
      Parameters:
      path - NOT YET DOCUMENTED
      Returns:
      NOT YET DOCUMENTED
      Throws:
      Exception - NOT YET DOCUMENTED
    • getVerbose

      public static boolean getVerbose()
      Gets the verbose attribute of the SimpleNdrRequest class
      Returns:
      The verbose value
    • setVerbose

      public static void setVerbose(boolean v)
      Sets the verbose attribute of the SimpleNdrRequest class
      Parameters:
      v - The new verbose value
    • setDebug

      public static void setDebug(boolean d)
      Sets the debug attribute of the SimpleNdrRequest class
      Parameters:
      d - The new debug value
    • getDebug

      public static boolean getDebug()
      Gets the debug attribute of the SimpleNdrRequest class
      Returns:
      The debug value
    • report

      public void report()
      NOT YET DOCUMENTED
    • pp

      protected static void pp(org.dom4j.Node node)
      Prints a dom4j.Node as formatted string.
      Parameters:
      node - NOT YET DOCUMENTED
    • prtln

      protected static void prtln(String s)
      Description of the Method
      Parameters:
      s - Description of the Parameter
    • prtlnErr

      protected static void prtlnErr(String s)
      NOT YET DOCUMENTED
      Parameters:
      s - NOT YET DOCUMENTED