Class OverwriteHeader
- java.lang.Object
-
- org.apache.jackrabbit.webdav.header.OverwriteHeader
-
-
Field Summary
Fields Modifier and Type Field Description static String
OVERWRITE_FALSE
static String
OVERWRITE_TRUE
-
Constructor Summary
Constructors Constructor Description OverwriteHeader(boolean doOverwrite)
OverwriteHeader(javax.servlet.http.HttpServletRequest request)
Create a newOverwriteHeader
for the given request object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHeaderName()
String
getHeaderValue()
boolean
isOverwrite()
-
-
-
Field Detail
-
OVERWRITE_TRUE
public static final String OVERWRITE_TRUE
- See Also:
- Constant Field Values
-
OVERWRITE_FALSE
public static final String OVERWRITE_FALSE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OverwriteHeader
public OverwriteHeader(boolean doOverwrite)
-
OverwriteHeader
public OverwriteHeader(javax.servlet.http.HttpServletRequest request)
Create a newOverwriteHeader
for the given request object. If the latter does not contain an "Overwrite" header field, the default applies, which isOVERWRITE_TRUE
according to RFC 2518.- Parameters:
request
-
-
-
Method Detail
-
getHeaderName
public String getHeaderName()
- Specified by:
getHeaderName
in interfaceHeader
-
getHeaderValue
public String getHeaderValue()
- Specified by:
getHeaderValue
in interfaceHeader
-
isOverwrite
public boolean isOverwrite()
-
-