Modifier and Type | Field and Description |
---|---|
static String |
OVERWRITE_FALSE |
static String |
OVERWRITE_TRUE |
Constructor and Description |
---|
OverwriteHeader(boolean doOverwrite) |
OverwriteHeader(javax.servlet.http.HttpServletRequest request)
Create a new
OverwriteHeader for the given request object. |
public static final String OVERWRITE_TRUE
public static final String OVERWRITE_FALSE
public OverwriteHeader(boolean doOverwrite)
public OverwriteHeader(javax.servlet.http.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 String getHeaderName()
getHeaderName
in interface Header
public String getHeaderValue()
getHeaderValue
in interface Header
public boolean isOverwrite()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.