|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.ndr.request.SimpleNdrRequest org.dlese.dpc.ndr.request.NdrRequest org.dlese.dpc.ndr.request.SignedNdrRequest
public class SignedNdrRequest
Class to communiate directly with NDR via NDRConnection
.
Builds the inputXML parameter that is sent as part a POST request.
Field Summary | |
---|---|
protected InputXML |
inputXML
NOT YET DOCUMENTED |
protected NDRConstants.NDRObjectType |
objectType
NOT YET DOCUMENTED |
Fields inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest |
---|
handle, requestAgent, verb, verbose |
Constructor Summary | |
---|---|
SignedNdrRequest()
Constructor for the SignedNdrRequest object |
|
SignedNdrRequest(String verb)
Constructor for the SignedNdrRequest object with specified verb. |
|
SignedNdrRequest(String verb,
String handle)
Constructor for the SignedNdrRequest object with specified verb and handle. |
Method Summary | |
---|---|
void |
authorizeToChange(String agentHandle)
|
void |
authorizeToChange(String agentHandle,
String action)
|
protected NDRConnection |
getNDRConnection(String path,
String inputXMLStr)
Creates connection and adds payload in the form of inputXML parameter. |
void |
report(String path)
NOT YET DOCUMENTED |
Methods inherited from class org.dlese.dpc.ndr.request.SimpleNdrRequest |
---|
getDebug, getHandle, getNDRConnection, getRequestAgent, getVerb, getVerbose, makePath, pp, prtln, prtlnErr, report, setDebug, setHandle, setRequestAgent, setVerb, setVerbose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InputXML inputXML
protected NDRConstants.NDRObjectType objectType
Constructor Detail |
---|
public SignedNdrRequest()
public SignedNdrRequest(String verb)
verb
- NOT YET DOCUMENTEDpublic SignedNdrRequest(String verb, String handle)
verb
- NOT YET DOCUMENTEDhandle
- NOT YET DOCUMENTEDMethod Detail |
---|
public void authorizeToChange(String agentHandle)
public void authorizeToChange(String agentHandle, String action)
protected NDRConnection getNDRConnection(String path, String inputXMLStr) throws Exception
Payload is the request objects's inputXML attribute, which is overidden by the inputXMLStr parameter if present. This allows a caller to create an inputXMLStr external to the request, which is helpful in debugging.
getNDRConnection
in class NdrRequest
path
- NOT YET DOCUMENTEDinputXMLStr
- NOT YET DOCUMENTED
Exception
- NOT YET DOCUMENTEDpublic void report(String path)
report
in class NdrRequest
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |