|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

public interface IPart
Part defintion
| Method Summary | |
|---|---|
BlockingBodyDataSource |
getBlockingBody()
Deprecated. use getBody() instead |
BodyDataSource |
getBody()
returns the blocking body |
NonBlockingBodyDataSource |
getNonBlockingBody()
returns the non-blocking body |
IHeader |
getPartHeader()
returns the part header |
boolean |
hasBody()
returns true if the part has a body |
| Methods inherited from interface org.xlightweb.IHeader |
|---|
addHeader, addHeaderLine, addHeaderlines, containsHeader, getCharacterEncoding, getContentType, getDisposition, getDispositionParam, getDispositionType, getHeader, getHeader, getHeaderList, getHeaderNames, getHeaderNameSet, getHeaders, getTransferEncoding, removeHeader, setContentType, setHeader, setTransferEncoding |
| Method Detail |
|---|
IHeader getPartHeader()
NonBlockingBodyDataSource getNonBlockingBody()
throws IOException
null if parte is bodyless
IOException
BlockingBodyDataSource getBlockingBody()
throws IOException
getBody() instead
IOException
BodyDataSource getBody()
throws IOException
null if part is bodyless
IOExceptionboolean hasBody()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||