|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMimeResponseContext
Method Summary | |
---|---|
LinkedHashMap<String,List<String>> |
getClientAttributes()
Returns the map of client attributes associated with the MimeResponse |
int |
getExpires()
Returns the number of seconds the markup referenced by this context object remains valid. |
String |
getLocale()
Returns the locale of the returned markup. |
String |
getMarkupCharacterSet()
Returns the character set used to encode the markup. |
InputStream |
getMarkupData()
Returns an InputStream to read the returned markup. |
String |
getMarkupRefId()
Gets the value of the MimeResponse RefId if set to support Soap With Attachments (SWA) |
String |
getMimeType()
Returns the Mime type of the returned markup. |
String |
getUserScope()
Returns a string indicating when the markup may be used by various users. |
String |
getValidateTag()
Returns a string (unique id on a Producer) that a Consumer can use it to revalidate markup once the expires duration elapses. |
boolean |
isRequiresUrlRewritingOn()
Returns "true" if a Producer/Portlet indicated that the Consumer-side URL rewriting is required. |
boolean |
isUseCachedMarkupOn()
Returns true if the markup in which the Consumer indicated it has cached, is still valid. |
void |
setClientAttributes(LinkedHashMap<String,List<String>> clientAttributes)
Sets the map of client attributes on the MimeResponse |
void |
setMarkupCharacterSet(String encoding)
Sets the supplied encoding as the encoding used
for the encapsulated markup. |
void |
setMarkupData(InputStream markupData)
Sets the supplied |
void |
setMimeType(String mimeType)
Sets the supplied string as the Mime type of the returned markup. |
void |
setRequiresUrlRewritingOn(boolean value)
Sets the supplied value to indicate whether Consumer-side URL rewriting is required or not. |
void |
setUseCachedMarkupOn(boolean value)
Sets the supplied value that indicates to the Consumer that the cached markup is valid or not. |
Method Detail |
---|
InputStream getMarkupData() throws IOException
IOException
- if unable to create an input stream.void setMarkupData(InputStream markupData)
markupData
- a new input stream to read the markup.String getMarkupCharacterSet()
void setMarkupCharacterSet(String encoding)
encoding
as the encoding used
for the encapsulated markup.
encoding
- a character set name.int getExpires()
String getUserScope()
String getValidateTag()
boolean isUseCachedMarkupOn()
void setUseCachedMarkupOn(boolean value)
value
- a boolean value.String getMimeType()
void setMimeType(String mimeType)
mimeType
- a new Mime type.String getLocale()
boolean isRequiresUrlRewritingOn()
void setRequiresUrlRewritingOn(boolean value)
value
- a boolean value to indicate Consumer-side URL rewriting is required or not.String getMarkupRefId()
LinkedHashMap<String,List<String>> getClientAttributes()
void setClientAttributes(LinkedHashMap<String,List<String>> clientAttributes)
clientAttributes
-
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |