Package org.dlese.dpc.ndr.request
Class SimpleNdrRequest
java.lang.Object
org.dlese.dpc.ndr.request.SimpleNdrRequest
- Direct Known Subclasses:
FindResourceRequest,GetRequest,NdrRequest
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the SimpleNdrRequest objectSimpleNdrRequest(String verb) Constructor for the SimpleNdrRequest object with specified verb.SimpleNdrRequest(String verb, String handle) Constructor for the SimpleNdrRequest object with specified verb and handle. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetDebug()Gets the debug attribute of the SimpleNdrRequest classGets the handle attribute of the SimpleNdrRequest objectprotected NDRConnectiongetNDRConnection(String path) Instantiates and initializes an NDRConnection for communicating with the NDR server.Gets the requestAgent attribute of the SimpleNdrRequest objectgetVerb()Gets the verb attribute of the SimpleNdrRequest objectstatic booleanGets the verbose attribute of the SimpleNdrRequest classprotected StringmakePath()protected static voidpp(org.dom4j.Node node) Prints a dom4j.Node as formatted string.protected static voidDescription of the Methodprotected static voidNOT YET DOCUMENTEDvoidreport()NOT YET DOCUMENTEDstatic voidsetDebug(boolean d) Sets the debug attribute of the SimpleNdrRequest classvoidSets the handle attribute of the SimpleNdrRequest objectvoidsetRequestAgent(String handle) Sets the requestAgent attribute of the SimpleNdrRequest objectvoidSets the verb attribute of the SimpleNdrRequest objectstatic voidsetVerbose(boolean v) Sets the verbose attribute of the SimpleNdrRequest classsubmit()NOT YET DOCUMENTEDNOT YET DOCUMENTED
-
Field Details
-
verbose
protected static boolean verboseNOT YET DOCUMENTED -
verb
NOT YET DOCUMENTED -
handle
NOT YET DOCUMENTED -
requestAgent
NOT YET DOCUMENTED
-
-
Constructor Details
-
SimpleNdrRequest
public SimpleNdrRequest()Constructor for the SimpleNdrRequest object -
SimpleNdrRequest
Constructor for the SimpleNdrRequest object with specified verb.- Parameters:
verb- NOT YET DOCUMENTED
-
SimpleNdrRequest
Constructor for the SimpleNdrRequest object with specified verb and handle.- Parameters:
verb- NOT YET DOCUMENTEDhandle- NOT YET DOCUMENTED
-
-
Method Details
-
setVerb
Sets the verb attribute of the SimpleNdrRequest object- Parameters:
verb- The new verb value
-
getVerb
Gets the verb attribute of the SimpleNdrRequest object- Returns:
- The verb value
-
setRequestAgent
Sets the requestAgent attribute of the SimpleNdrRequest object- Parameters:
handle- The new requestAgent value
-
getRequestAgent
Gets the requestAgent attribute of the SimpleNdrRequest object- Returns:
- The requestAgent value
-
setHandle
Sets the handle attribute of the SimpleNdrRequest object- Parameters:
handle- The new handle value
-
getHandle
Gets the handle attribute of the SimpleNdrRequest object- Returns:
- The handle value
-
getNDRConnection
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
- Throws:
Exception
-
submit
NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
- Throws:
Exception- NOT YET DOCUMENTED
-
submit
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
Description of the Method- Parameters:
s- Description of the Parameter
-
prtlnErr
NOT YET DOCUMENTED- Parameters:
s- NOT YET DOCUMENTED
-