|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.io.InputContextImpl
public class InputContextImpl
InputContextImpl class encapsulates the InputStream
and some header values as present in the POST, PUT or MKCOL request.
| Constructor Summary | |
|---|---|
InputContextImpl(javax.servlet.http.HttpServletRequest request,
InputStream in)
|
|
| Method Summary | |
|---|---|
String |
getContentLanguage()
Returns the content language or null. |
long |
getContentLength()
Returns the length of the data or -1 if the contentlength could not be determined. |
String |
getContentType()
Return the content type or null |
InputStream |
getInputStream()
Returns the input stream of the resource to import. |
long |
getModificationTime()
Returns the modification time of the resource or the current time if the modification time has not been set. |
String |
getProperty(String propertyName)
Returns the value of the given property or null if this property does
not exist. |
boolean |
hasStream()
Return true, if there are any data to be imported (and not only properties) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InputContextImpl(javax.servlet.http.HttpServletRequest request,
InputStream in)
| Method Detail |
|---|
public boolean hasStream()
InputContext
hasStream in interface InputContextpublic InputStream getInputStream()
getInputStream in interface InputContextpublic long getModificationTime()
InputContext
getModificationTime in interface InputContextpublic String getContentLanguage()
null.
getContentLanguage in interface InputContextpublic long getContentLength()
InputContext
getContentLength in interface InputContextpublic String getContentType()
InputContextnull
getContentType in interface InputContextpublic String getProperty(String propertyName)
InputContextnull if this property does
not exist.
getProperty in interface InputContextnull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||