|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.http.ContentBase
public abstract class ContentBase
Base class for providers of HTTP request content and handlers of HTTP response content.
| Constructor Summary | |
|---|---|
ContentBase()
Default constructor. |
|
| Method Summary | |
|---|---|
long |
executeIO(InputStream source,
OutputStream destination)
Executes stream to stream I/O. |
long |
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 ContentBase()
| Method Detail |
|---|
public int getInitialBufferlength()
public void setInitialBufferLength(int length)
length - the initial buffer length (in bytes)public String getLoggableContent()
public long 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 occurs
public long 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 occurs
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||