Top Description Methods
org.apache.tomcat.util.http.fileupload

public Interface FileItemHeadersSupport

Known Direct Subinterfaces
org.apache.tomcat.util.http.fileupload.FileItemStream, org.apache.tomcat.util.http.fileupload.FileItem

Interface that will indicate that FileItem or FileItemStream implementations will accept the headers read for the item.
Since
1.2.1
See Also
FileItem, FileItemStream

Method Summary

Modifier and TypeMethod and Description
public FileItemHeaders

Returns:

the FileItemHeaders present for this item.
getHeaders
()

Returns the collection of headers defined locally within this item.

public void
setHeaders(FileItemHeaders
the instance that holds onto the headers for this instance.
headers
)

Sets the headers read from within an item.

Method Detail

getHeadersback to summary
public FileItemHeaders getHeaders()

Returns the collection of headers defined locally within this item.

Returns:FileItemHeaders

the FileItemHeaders present for this item.

setHeadersback to summary
public void setHeaders(FileItemHeaders headers)

Sets the headers read from within an item. Implementations of FileItem or FileItemStream should implement this interface to be able to get the raw headers found within the item header block.

Parameters
headers:FileItemHeaders

the instance that holds onto the headers for this instance.