public class RawEntity extends Object implements EntityStateMachine
| Modifier and Type | Method and Description | 
|---|---|
| EntityStateMachine | advance()Advances the state machine to the next state in the
 process of the MIME stream parsing. | 
| BodyDescriptor | getBodyDescriptor()This method has no effect and always returns  null. | 
| InputStream | getContentStream()Returns raw data stream. | 
| InputStream | getDecodedContentStream()Returns the decoded content stream of the entity body. | 
| RawField | getField()This method has no effect and always returns  null. | 
| String | getFieldName()This method has no effect and always returns  null. | 
| String | getFieldValue()This method has no effect and always returns  null. | 
| EntityState | getState()Return the current state of the entity. | 
| void | setRecursionMode(RecursionMode recursionMode)This method has no effect. | 
public EntityState getState()
EntityStateMachinegetState in interface EntityStateMachineEntityStatepublic void setRecursionMode(RecursionMode recursionMode)
setRecursionMode in interface EntityStateMachineRecursionModepublic EntityStateMachine advance()
EntityStateMachineadvance in interface EntityStateMachinenull otherwise.public InputStream getContentStream()
getContentStream in interface EntityStateMachinepublic BodyDescriptor getBodyDescriptor()
null.getBodyDescriptor in interface EntityStateMachinepublic RawField getField()
null.getField in interface EntityStateMachinepublic String getFieldName()
null.public String getFieldValue()
null.public InputStream getDecodedContentStream() throws IllegalStateException
EntityStateMachinegetDecodedContentStream in interface EntityStateMachineIllegalStateException - if the content stream cannot be
  obtained at the current stage of the parsing process.EntityStateMachine.getDecodedContentStream()Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.