oracle.stellent.ridc.protocol.http.obj
Class HdaFilePart

java.lang.Object
  extended by org.apache.commons.httpclient.methods.multipart.Part
      extended by org.apache.commons.httpclient.methods.multipart.PartBase
          extended by org.apache.commons.httpclient.methods.multipart.FilePart
              extended by oracle.stellent.ridc.protocol.http.obj.HdaFilePart

public class HdaFilePart
extends org.apache.commons.httpclient.methods.multipart.FilePart


Nested Class Summary
protected static class HdaFilePart.TransferFilePartSource
          Converts an IDataFile into a PartSource
 
Field Summary
 
Fields inherited from class org.apache.commons.httpclient.methods.multipart.FilePart
DEFAULT_CHARSET, DEFAULT_CONTENT_TYPE, DEFAULT_TRANSFER_ENCODING, FILE_NAME
 
Fields inherited from class org.apache.commons.httpclient.methods.multipart.Part
BOUNDARY, BOUNDARY_BYTES, CHARSET, CHARSET_BYTES, CONTENT_DISPOSITION, CONTENT_DISPOSITION_BYTES, CONTENT_TRANSFER_ENCODING, CONTENT_TRANSFER_ENCODING_BYTES, CONTENT_TYPE, CONTENT_TYPE_BYTES, CRLF, CRLF_BYTES, EXTRA, EXTRA_BYTES, QUOTE, QUOTE_BYTES
 
Constructor Summary
HdaFilePart(java.lang.String name, TransferFile fileInfo)
          FilePart Constructor.
 
Method Summary
 java.lang.String getTransferEncoding()
          Returns the transfer encoding of this part.
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.FilePart
getSource, lengthOfData, sendData, sendDispositionHeader
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.PartBase
getCharSet, getContentType, getName, setCharSet, setContentType, setName, setTransferEncoding
 
Methods inherited from class org.apache.commons.httpclient.methods.multipart.Part
getBoundary, getLengthOfParts, getLengthOfParts, getPartBoundary, isRepeatable, length, send, sendContentTypeHeader, sendEnd, sendEndOfHeader, sendParts, sendParts, sendStart, sendTransferEncodingHeader, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HdaFilePart

public HdaFilePart(java.lang.String name,
                   TransferFile fileInfo)
FilePart Constructor.

Parameters:
name - the parameter name
fileInfo - the IDataFile object describing the file to publish
Method Detail

getTransferEncoding

public java.lang.String getTransferEncoding()
Returns the transfer encoding of this part.

Overrides:
getTransferEncoding in class org.apache.commons.httpclient.methods.multipart.PartBase
Returns:
String The name.


Copyright © 2008-2009 Oracle Corporation. All Rights Reserved.