|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.framework.http.IOUtility
public class IOUtility
Base class for providers of HTTP request content and handlers of HTTP response content.
Constructor Summary | |
---|---|
IOUtility()
Default constructor. |
Method Summary | |
---|---|
void |
executeIO(InputStream source,
OutputStream destination)
Executes stream to stream I/O. |
void |
executeIO(InputStream source,
String charset,
Writer destination)
Executes stream to character I/O. |
void |
executeIO(Reader source,
String charset,
OutputStream destination)
Executes character to stream I/O. |
void |
executeIO(Reader source,
Writer destination)
Executes character to character I/O. |
int |
getInitialBufferlength()
Gets the initial buffer length (in bytes) for streamed content. |
String |
getLoggableContent()
Gets content associated with the HTTP request/response suitable for logging. |
void |
setInitialBufferLength(int length)
Sets the initial buffer length (in bytes) for streamed content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IOUtility()
Method Detail |
---|
public int getInitialBufferlength()
public void setInitialBufferLength(int length)
length
- the initial buffer length (in bytes)public String getLoggableContent()
public void executeIO(InputStream source, OutputStream destination) throws IOException
source
- the input stream from which data will be readdestination
- the output stream to which data will be written
IOException
- if an exception occurspublic void executeIO(Reader source, Writer destination) throws IOException
source
- the character reader from which data will be readdestination
- the character writer the to which data will be written
IOException
- if an exception occurspublic void executeIO(InputStream source, String charset, Writer destination) throws IOException
source
- the character reader from which data will be readdestination
- the character writer the to which data will be written
IOException
- if an exception occurspublic void executeIO(Reader source, String charset, OutputStream destination) throws IOException
source
- the character reader from which data will be readdestination
- the output stream to which data will be written
IOException
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |