This project has retired. For details please refer to its
        
        Attic page.
      
org.apache.wink.common.model.multipart
Class InMultiPart
java.lang.Object
   org.apache.wink.common.model.multipart.InMultiPart
org.apache.wink.common.model.multipart.InMultiPart
- All Implemented Interfaces: 
- java.util.Iterator<InPart>
- public class InMultiPart 
- extends java.lang.Object- implements java.util.Iterator<InPart>
This class is used to represent inbound MultiPart messages, it implements
 an Iterator to iterate over the message's parts. A typical usage of
 InMultiPart looks like this:
| Field Summary | 
| static java.lang.String | SEP
 | 
 
| Constructor Summary | 
| InMultiPart(org.apache.wink.common.internal.providers.multipart.MultiPartParser mim)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SEP
public static final java.lang.String SEP
- See Also:
- Constant Field Values
InMultiPart
public InMultiPart(org.apache.wink.common.internal.providers.multipart.MultiPartParser mim)
getProviders
public javax.ws.rs.ext.Providers getProviders()
- 
 
- 
 
setProviders
public void setProviders(javax.ws.rs.ext.Providers providers)
- 
 
- 
 
hasNext
public boolean hasNext()
- Returns true if the iteration has more elements. (In other
 words, returns true if next would return an element
 rather than throwing an exception.) 
 NOTICE: calling the has next will cause the inputStream of the previous
 part to be invalid
 
- 
- Specified by:
- hasNextin interface- java.util.Iterator<InPart>
 
- 
- Returns:
- true if the iterator has more elements.
 
next
public InPart next()
- 
- Specified by:
- nextin interface- java.util.Iterator<InPart>
 
- 
 
remove
public void remove()
- Not implemented
 
- 
- Specified by:
- removein interface- java.util.Iterator<InPart>
 
- 
 
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.