public class CertEnrollmentRequest extends ResourceMessage
ResourceMessage.Attribute, ResourceMessage.AttributeList, ResourceMessage.MapAdapter
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<ProfileInput> |
inputs |
protected java.util.Collection<ProfileOutput> |
outputs |
protected java.lang.String |
profileId |
protected java.lang.String |
remoteAddr |
protected java.lang.String |
remoteHost |
protected boolean |
renewal |
protected CertId |
serialNum |
attributes
Constructor and Description |
---|
CertEnrollmentRequest() |
CertEnrollmentRequest(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> form) |
Modifier and Type | Method and Description |
---|---|
void |
addInput(ProfileInput input) |
void |
addOutput(ProfileOutput output) |
ProfileInput |
createInput(java.lang.String name) |
void |
deleteInput(ProfileInput input) |
void |
deleteOutput(ProfileOutput output) |
boolean |
equals(java.lang.Object obj) |
static CertEnrollmentRequest |
fromXML(java.lang.String string) |
ProfileInput |
getInput(java.lang.String name) |
ProfileInput |
getInputByID(java.lang.String id) |
ProfileInput |
getInputByName(java.lang.String name) |
java.util.Collection<ProfileInput> |
getInputs() |
ProfileOutput |
getOutput(java.lang.String name) |
ProfileOutput |
getOutputByID(java.lang.String id) |
ProfileOutput |
getOutputByName(java.lang.String name) |
java.util.Collection<ProfileOutput> |
getOutputs() |
java.lang.String |
getProfileId() |
java.lang.String |
getRemoteAddr() |
java.lang.String |
getRemoteHost() |
CertId |
getSerialNum() |
int |
hashCode() |
boolean |
isRenewal() |
static void |
main(java.lang.String[] args) |
void |
setInputs(java.util.Collection<ProfileInput> inputs) |
void |
setOutputs(java.util.Collection<ProfileOutput> outputs) |
void |
setProfileId(java.lang.String profileId) |
void |
setRemoteAddr(java.lang.String remoteAddr) |
void |
setRemoteHost(java.lang.String remoteHost) |
void |
setRenewal(boolean renewal) |
void |
setSerialNum(CertId serialNum) |
java.util.HashMap<java.lang.String,java.lang.String> |
toParams() |
java.lang.String |
toString() |
java.lang.String |
toXML() |
getAttribute, getAttributeNames, getAttributes, getClassName, marshal, marshall, removeAttribute, setAttribute, setAttributes, setClassName, unmarshal, unmarshall
protected java.lang.String profileId
protected boolean renewal
protected CertId serialNum
protected java.lang.String remoteHost
protected java.lang.String remoteAddr
protected java.util.Collection<ProfileInput> inputs
protected java.util.Collection<ProfileOutput> outputs
public CertEnrollmentRequest()
public CertEnrollmentRequest(javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> form)
public java.lang.String getProfileId()
public void setProfileId(java.lang.String profileId)
profileId
- the profileId to setpublic boolean isRenewal()
public void setRenewal(boolean renewal)
renewal
- the renewal to setpublic void addInput(ProfileInput input)
public void deleteInput(ProfileInput input)
public ProfileInput createInput(java.lang.String name)
public ProfileInput getInput(java.lang.String name)
public ProfileInput getInputByName(java.lang.String name)
public ProfileInput getInputByID(java.lang.String id)
public void addOutput(ProfileOutput output)
public void deleteOutput(ProfileOutput output)
public ProfileOutput getOutput(java.lang.String name)
public ProfileOutput getOutputByName(java.lang.String name)
public ProfileOutput getOutputByID(java.lang.String id)
public java.util.HashMap<java.lang.String,java.lang.String> toParams()
public CertId getSerialNum()
public void setSerialNum(CertId serialNum)
public java.util.Collection<ProfileInput> getInputs()
public void setInputs(java.util.Collection<ProfileInput> inputs)
public java.lang.String getRemoteAddr()
public void setRemoteAddr(java.lang.String remoteAddr)
public java.lang.String getRemoteHost()
public void setRemoteHost(java.lang.String remoteHost)
public java.util.Collection<ProfileOutput> getOutputs()
public void setOutputs(java.util.Collection<ProfileOutput> outputs)
public static CertEnrollmentRequest fromXML(java.lang.String string) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public java.lang.String toXML() throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class ResourceMessage
public boolean equals(java.lang.Object obj)
equals
in class ResourceMessage
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception