|
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 IBaseRequestContext
A base request context that provides access to common entities of a web application, a portlet, a WSRP SOAP request message, and the Producer.It also provides methods to add new http headers or modify existing headers.
Note: The headers: "Content-Type", "User-Agent", "Accept", "Authorization", and "SOAPAction" are NOT ALLOWED to be added or modified.
Method Summary | |
---|---|
void |
addMimeHeader(String name,
String value)
Adds an http header with the supplied name and the supplied value to
the underlying SOAP message. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Returns the http request associated with this context. |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
Returns the http response associated with this context. |
Map<String,List<String>> |
getMimeHeaders()
Returns a map of http header names and a list of values associated with a header. |
List<String> |
getMimeHeaders(String name)
Returns the list of values associated with the supplied name . |
com.bea.wsrp.config.ProducerInfo |
getProducerInfo()
Returns the information about the Producer to which a SOAP request message is being sent. |
javax.servlet.ServletContext |
getServletContext()
Returns the ServletContext to which this context belongs. |
WsrpRequestContext |
getWsrpRequestContext()
|
void |
removeMimeHeader(String name)
Removes the given header. |
void |
setMimeHeader(String name,
String value)
Associates the supplied value to an http header identified by the supplied
name . |
void |
setWsrpRequestContext(WsrpRequestContext wsrpRequestContext)
|
Methods inherited from interface com.bea.wsrp.model.IMutableRegistrationContext |
---|
setRegistrationHandle, setRegistrationState |
Methods inherited from interface com.bea.wsrp.model.IRegistrationContext |
---|
getRegistrationHandle, getRegistrationState |
Methods inherited from interface com.bea.wsrp.model.INillable |
---|
isNil |
Methods inherited from interface com.bea.wsrp.model.markup.IUserContext |
---|
getUserCategories, getUserContextKey, getUserProfile, isUserProfileValid, setUserContextKey |
Methods inherited from interface com.bea.wsrp.model.INillable |
---|
isNil |
Methods inherited from interface com.bea.wsrp.bind.IPortletContextHolder |
---|
getPortletContext |
Method Detail |
---|
javax.servlet.http.HttpServletRequest getHttpServletRequest()
javax.servlet.http.HttpServletResponse getHttpServletResponse()
javax.servlet.http.HttpServletResponse.getOutputStream()
may
result in undesirable UI effects.
javax.servlet.ServletContext getServletContext()
Map<String,List<String>> getMimeHeaders()
void addMimeHeader(String name, String value)
name
and the supplied value
to
the underlying SOAP message.
Ignores null
name and value.
name
- a non-null http header name.value
- a non-null http header value.MimeHeaders.addHeader(String n, String v)
void setMimeHeader(String name, String value)
value
to an http header identified by the supplied
name
.
name
- a non-null http header name.value
- a non-null http header value.MimeHeaders.setHeader(String n, String v)
List<String> getMimeHeaders(String name)
name
.
The returned list is unmodifiable.
name
- an http header name.
name
.void removeMimeHeader(String name)
name
- a non-null http header name.MimeHeaders.removeHeader(String n)
com.bea.wsrp.config.ProducerInfo getProducerInfo()
ProducerInfo
WsrpRequestContext getWsrpRequestContext()
void setWsrpRequestContext(WsrpRequestContext wsrpRequestContext)
|
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 |