Package com.helger.web.fileupload
Interface IFileItemHeadersSupport
-
- All Known Subinterfaces:
IFileItemStream
- All Known Implementing Classes:
DiskFileItem,FileItemStream
public interface IFileItemHeadersSupportInterface that will indicate thatIFileItemorIFileItemStreamimplementations will accept the headers read for the item.- Since:
- 1.3
- Author:
- Michael C. Macaluso
- See Also:
IFileItem,IFileItemStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFileItemHeadersgetHeaders()Returns the collection of headers defined locally within this item.voidsetHeaders(IFileItemHeaders aHeaders)Sets the headers read from within an item.
-
-
-
Method Detail
-
getHeaders
@Nullable IFileItemHeaders getHeaders()
Returns the collection of headers defined locally within this item.- Returns:
- the
IFileItemHeaderspresent for this item.
-
setHeaders
void setHeaders(@Nullable IFileItemHeaders aHeaders)
Sets the headers read from within an item. Implementations ofIFileItemorIFileItemStreamshould implement this interface to be able to get the raw headers found within the item header block.- Parameters:
aHeaders- the instance that holds onto the headers for this instance.
-
-