com.caucho.server.http
Class AbstractCauchoRequest.PartImpl

java.lang.Object
  extended by com.caucho.server.http.AbstractCauchoRequest.PartImpl
All Implemented Interfaces:
Part
Enclosing class:
AbstractCauchoRequest

public class AbstractCauchoRequest.PartImpl
extends java.lang.Object
implements Part


Method Summary
 void delete()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader(java.lang.String name)
           
 java.util.Collection<java.lang.String> getHeaderNames()
           
 java.util.Collection<java.lang.String> getHeaders(java.lang.String name)
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 long getSize()
           
 java.lang.Object getValue()
           
 void write(java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

delete

public void delete()
            throws java.io.IOException
Specified by:
delete in interface Part
Throws:
java.io.IOException

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface Part

getHeader

public java.lang.String getHeader(java.lang.String name)
Specified by:
getHeader in interface Part

getHeaderNames

public java.util.Collection<java.lang.String> getHeaderNames()
Specified by:
getHeaderNames in interface Part

getHeaders

public java.util.Collection<java.lang.String> getHeaders(java.lang.String name)
Specified by:
getHeaders in interface Part

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Specified by:
getInputStream in interface Part
Throws:
java.io.IOException

getName

public java.lang.String getName()
Specified by:
getName in interface Part

getSize

public long getSize()
Specified by:
getSize in interface Part

write

public void write(java.lang.String fileName)
           throws java.io.IOException
Specified by:
write in interface Part
Throws:
java.io.IOException

getValue

public java.lang.Object getValue()