java.lang.Object
com.aoapps.servlet.subrequest.ThreadSafePart
- All Implemented Interfaces:
Part
Synchronizes access to the wrapped part.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()getHeaders(String name) getName()longgetSize()void
-
Field Details
-
part
-
lock
-
-
Constructor Details
-
ThreadSafePart
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfacePart- Throws:
IOException
-
getContentType
- Specified by:
getContentTypein interfacePart
-
getName
-
getSubmittedFileName
- Specified by:
getSubmittedFileNamein interfacePart
-
getSize
public long getSize() -
write
- Specified by:
writein interfacePart- Throws:
IOException
-
delete
- Specified by:
deletein interfacePart- Throws:
IOException
-
getHeader
-
getHeaders
- Specified by:
getHeadersin interfacePart
-
getHeaderNames
- Specified by:
getHeaderNamesin interfacePart
-
