Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OVERWRITE_FALSE |
static java.lang.String |
OVERWRITE_TRUE |
Constructor and Description |
---|
OverwriteHeader(boolean doOverwrite) |
OverwriteHeader(HttpServletRequest request)
Create a new
OverwriteHeader for the given request object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHeaderName() |
java.lang.String |
getHeaderValue() |
boolean |
isOverwrite() |
public static final java.lang.String OVERWRITE_TRUE
public static final java.lang.String OVERWRITE_FALSE
public OverwriteHeader(boolean doOverwrite)
public OverwriteHeader(HttpServletRequest request)
OverwriteHeader
for the given request object.
If the latter does not contain an "Overwrite" header field, the default
applies, which is OVERWRITE_TRUE
according to RFC 2518.request
- public java.lang.String getHeaderName()
getHeaderName
in interface Header
public java.lang.String getHeaderValue()
getHeaderValue
in interface Header
public boolean isOverwrite()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"