|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.agp.multipart2.MPart
com.esri.gpt.agp.client.AgpDPart
public class AgpDPart
A part within a multi-part HTTP request that streams source data (e.g. item data, item thumbnail, ...) to a destination.
Constructor Summary | |
---|---|
AgpDPart(AgpConnection sourceConnection,
AgpItem sourceItem,
String sourceUrl,
String name,
String sourceFileName,
long sourceLength)
Constructor. |
Method Summary | |
---|---|
protected long |
dataLength()
The length of the part data in bytes (-1 if unknown). |
void |
send(OutputStream out)
Write the part to the stream. |
Methods inherited from class com.esri.gpt.agp.multipart2.MPart |
---|
getAsciiBytes, getBoundary, getCharset, getContentType, getData, getFileName, getName, getTransferEncoding, isRepeatable, partLength, sendContentTypeHeader, sendData, sendDispositionHeader, sendEnd, sendEndOfHeader, sendStart, sendTransferEncodingHeader, setBoundary, setCharset, setContentType, setData, setFileName, setName, setTransferEncoding, streamData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgpDPart(AgpConnection sourceConnection, AgpItem sourceItem, String sourceUrl, String name, String sourceFileName, long sourceLength)
sourceConnection
- the connection to the portal containing the source itemsourceItem
- the source itemsourceUrl
- the URL for the source itemname
- the part/property namesourceFileName
- the part/property file namesourceLength
- the length of the part dataMethod Detail |
---|
protected long dataLength() throws IOException
dataLength
in class MPart
IOException
- if an exception occurspublic void send(OutputStream out) throws IOException
send
in class MPart
out
- the output stream
IOException
- if an exception occurs
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |