|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.purl.sword.client.PostMessage
public class PostMessage
Represents the details of a post to a server. The message holds all of the possible values that are to be sent from the client to the server. Not all elements of the message must be filled in. Any required fields are defined in the current SWORD specification.
| Constructor Summary | |
|---|---|
PostMessage()
|
|
| Method Summary | |
|---|---|
boolean |
getChecksumError()
Get the status of the checksum error. |
boolean |
getCorruptRequest()
Get the status of the corrupt request flag. |
String |
getDestination()
Get the destination collection. |
String |
getFilename()
Get the filename. |
String |
getFilepath()
Get the filepath. |
String |
getFiletype()
Get the filetype. |
String |
getOnBehalfOf()
Get the onBehalfOf value. |
String |
getPackaging()
Get the packaging format. |
String |
getSlug()
Get the Slug value. |
String |
getUserAgent()
|
boolean |
isNoOp()
Get the no-op state. |
boolean |
isUseMD5()
Get the MD5 status. |
boolean |
isVerbose()
Get the verbose value. |
void |
setChecksumError(boolean checksumError)
Set the state of the checksum error. |
void |
setCorruptRequest(boolean corruptRequest)
Set the state of the corrupt request flag. |
void |
setDestination(String destination)
Set the destination collection. |
void |
setFilepath(String filepath)
Set the filepath. |
void |
setFiletype(String filetype)
Set the filetype. |
void |
setFormatNamespace(String packaging)
Set the packaging format. |
void |
setNoOp(boolean noOp)
Set the no-op state. |
void |
setOnBehalfOf(String onBehalfOf)
Set the onBehalfOf value. |
void |
setSlug(String slug)
Set the Slug value. |
void |
setUseMD5(boolean useMD5)
Set the md5 state. |
void |
setUserAgent(String userAgent)
Set the user agent |
void |
setVerbose(boolean verbose)
Set the verbose state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostMessage()
| Method Detail |
|---|
public String getFilepath()
public String getFilename()
public void setFilepath(String filepath)
filepath - The filepath.public String getDestination()
public void setDestination(String destination)
destination - The destination.public String getFiletype()
public void setFiletype(String filetype)
filetype - The filetype.public String getOnBehalfOf()
public void setOnBehalfOf(String onBehalfOf)
onBehalfOf - The value.public boolean isUseMD5()
public void setUseMD5(boolean useMD5)
useMD5 - True if the message should use an MD5 checksum.public boolean isNoOp()
public void setNoOp(boolean noOp)
noOp - The no-op.public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - True if the post message should send a
verbose header.public String getPackaging()
public void setFormatNamespace(String packaging)
formatNamespace - The packaging format.public boolean getChecksumError()
public void setChecksumError(boolean checksumError)
checksumError - True if the item should include a checksum error.public boolean getCorruptRequest()
public void setCorruptRequest(boolean corruptRequest)
checksumError - True if the item should corrupt the POST header.public void setSlug(String slug)
slug - The value.public String getSlug()
public String getUserAgent()
public void setUserAgent(String userAgent)
userAgent - the userAgent to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||