|
Oracle® WebLogic Server Web Clipping Transport API Reference 11g Release 1 (11.1.1) E14346-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InputContext
Field Summary | |
---|---|
static int |
BUFFER_SIZE The buffer size for all Input (this is the default from JavaCC) |
Method Summary | |
---|---|
void |
close() The interface for GC |
java.lang.String |
getContentType() Normally, the content-type is retrived from the server side as a HTTP header "content-type". |
java.lang.String |
getEffectiveUri() The Effective URI |
java.io.InputStream |
getInputStream() In case that input is binary |
java.io.Reader |
getReader() Should determine the character set and then create the right reader |
java.lang.String |
getRequestEncoding() |
java.lang.String |
getResponseEncoding() Get the encoding of the input |
int |
getTimeConsumed() get the time to first byte (latency) this input context in milliseconds |
java.lang.String |
getUrl() Each InputContext should have a URL to associate with |
void |
open() Opens up the stream so that subsequent calls to getReader will be ok. |
void |
setContentType(java.lang.String szContentType) This method can be called if the caller already known the content-type of this InputContext. |
void |
setRequestEncoding(java.lang.String szEncoding) |
void |
setResponseEncoding(java.lang.String szEncoding) After this call, the engine will not go to external resource to retrieve response charset encoding. |
Field Detail |
---|
static final int BUFFER_SIZE
Method Detail |
---|
java.lang.String getUrl()
java.lang.String getContentType() throws TransportException
setContentType
is called, this method simply returns it, Otherwise, it will call the transport layer to get the content-type from the external source.TransportException
void setContentType(java.lang.String szContentType)
StudioJsJspClient#handleStudioAction
, ProviderJsJspClient#show
java.lang.String getResponseEncoding() throws TransportException
TransportException
void setResponseEncoding(java.lang.String szEncoding) throws TransportException
TransportException
java.lang.String getRequestEncoding()
void setRequestEncoding(java.lang.String szEncoding)
java.io.Reader getReader() throws TransportException
TransportException
java.io.InputStream getInputStream() throws TransportException
TransportException
void open() throws TransportException
TransportException
void close() throws TransportException
TransportException
java.lang.String getEffectiveUri() throws TransportException
TransportException
int getTimeConsumed()
|
Oracle® WebLogic Server Web Clipping Transport API Reference 11g Release 1 (11.1.1) E14346-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |