|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.io.InputContext
InputContext class encapsulates the InputStream
and some header values as present in the POST, PUT or MKCOL request.
| Constructor Summary | |
InputContext()
|
|
| Method Summary | |
String |
getContentLanguage()
Returns the content language or null. |
String |
getContentType()
Returns the content type of the resource to be imported or null, if no has previously been set. |
InputStream |
getInputStream()
Returns the input stream to be imported or null if no stream
has been set or if the stream has been consumed. |
void |
setContentLanguage(String contentLanguage)
Sets the content language. |
void |
setContentType(String contentType)
Sets the content type of the resource. |
void |
setInputStream(InputStream inputStream)
Sets the input stream to be imported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InputContext()
| Method Detail |
public InputStream getInputStream()
null if no stream
has been set or if the stream has been consumed.
public void setInputStream(InputStream inputStream)
null if it has been consumed.
inputStream - the input streampublic String getContentType()
public void setContentType(String contentType)
contentType - the content type.public String getContentLanguage()
null.
public void setContentLanguage(String contentLanguage)
contentLanguage -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||