Class OverwriteHeader
- java.lang.Object
-
- org.apache.jackrabbit.webdav.header.OverwriteHeader
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OVERWRITE_FALSE
static java.lang.String
OVERWRITE_TRUE
-
Constructor Summary
Constructors Constructor Description OverwriteHeader(boolean doOverwrite)
OverwriteHeader(HttpServletRequest request)
Create a newOverwriteHeader
for the given request object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHeaderName()
java.lang.String
getHeaderValue()
boolean
isOverwrite()
-
-
-
Field Detail
-
OVERWRITE_TRUE
public static final java.lang.String OVERWRITE_TRUE
- See Also:
- Constant Field Values
-
OVERWRITE_FALSE
public static final java.lang.String OVERWRITE_FALSE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OverwriteHeader
public OverwriteHeader(boolean doOverwrite)
-
OverwriteHeader
public OverwriteHeader(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 java.lang.String getHeaderName()
- Specified by:
getHeaderName
in interfaceHeader
-
getHeaderValue
public java.lang.String getHeaderValue()
- Specified by:
getHeaderValue
in interfaceHeader
-
isOverwrite
public boolean isOverwrite()
-
-