Package com.oorian
Interface OorianUploadPart
- All Known Implementing Classes:
JakartaUploadPart
public interface OorianUploadPart
Abstraction layer for multipart file upload parts, decoupling from servlet API specifics.
This interface wraps the subset of Part methods used by the Oorian framework for file upload processing.
- Since:
- 2.1
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the content type of this part.Returns the value of the specified header for this part.Returns an input stream for reading the content of this part.getName()Returns the name of this part (the form field name).
-
Method Details
-
getContentType
String getContentType()Returns the content type of this part.- Returns:
- the content type
-
getInputStream
Returns an input stream for reading the content of this part.- Returns:
- the input stream
- Throws:
IOException- if an I/O error occurs
-
getName
String getName()Returns the name of this part (the form field name).- Returns:
- the part name
-
getHeader
Returns the value of the specified header for this part.- Parameters:
name- the header name- Returns:
- the header value, or null if not present
-