|
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 IResourceServletRequestContext
A representation a resource request. It is used by IResourceServletInterceptor implementations.
IResourceServletInterceptor| Method Summary | |
|---|---|
String |
getForwardPath()
Get the path used to create a request dispatcher. |
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Get the HttpServletRequest which represents the connection from the browser. |
javax.servlet.http.HttpServletResponse |
getHttpServletResponse()
Get the HttpServeltResponse representing the connection to the browser. |
byte[] |
getReadInput()
Get the bytes which have been read from the request's input stream. |
javax.servlet.ServletConfig |
getServletConfig()
Utility method for getting the ServletConfig |
javax.servlet.ServletContext |
getServletContext()
Utility method for getting the servlet context |
Set<String> |
getSkipParameterNames()
The set of parameters whose names should be skipped. |
URL |
getTargetURL()
Get the target's URL |
HttpURLConnection |
getURLConnection()
Get the URL Connection so it may be modified. |
boolean |
isForwardRequest()
Should this request be handled via a RequestDispatcher.forward() instead of a URLConnection? |
void |
setForwardPath(String path)
Set the path used to create a request dispatcher to forward to. |
void |
setForwardRequest(boolean forward)
Set whether the request should be made via the request dispatcher. |
void |
setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Set the request. |
void |
setHttpServletResponse(javax.servlet.http.HttpServletResponse response)
Set the response. |
void |
setReadInput(byte[] in)
Set the bytes which have been read from the request for sending in the target request. |
void |
setTargetURL(URL target)
Set the target's URL. |
void |
setURLConnection(HttpURLConnection connection)
Set the URL connection. |
boolean |
skipParameter(String parameter)
Should the parameter be skipped (not sent to the target). |
| Method Detail |
|---|
javax.servlet.http.HttpServletRequest getHttpServletRequest()
setHttpServletRequest(HttpServletRequest)void setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
request - The request to be used for further processinggetHttpServletRequest(),
HttpServletRequestWrapperjavax.servlet.http.HttpServletResponse getHttpServletResponse()
setHttpServletResponse(HttpServletResponse)void setHttpServletResponse(javax.servlet.http.HttpServletResponse response)
response - The response to be used for further processinggetHttpServletResponse(),
HttpServletResponseWrapperjavax.servlet.ServletConfig getServletConfig()
javax.servlet.ServletContext getServletContext()
byte[] getReadInput()
ServletRequest.getParameter(String)void setReadInput(byte[] in)
in - The bytes which will be sent to the target.boolean isForwardRequest()
RequestDispatcher.forward(ServletRequest, javax.servlet.ServletResponse),
URLConnectionvoid setForwardRequest(boolean forward)
forward - True if the the request should be made via the request dispatcherString getForwardPath()
void setForwardPath(String path)
path - The path (should not contain the context-path) to forward to.isForwardRequest()URL getTargetURL()
void setTargetURL(URL target)
target - The URL to the target resource
getURLConnection(),
setURLConnection(HttpURLConnection)
HttpURLConnection getURLConnection()
throws IOException
IOException - If the URL is invalid or other problems cause the URL not to be created.
setTargetURL(URL)void setURLConnection(HttpURLConnection connection)
connection - The connection to use for getting the target.
setTargetURL(URL)boolean skipParameter(String parameter)
parameter - The parameter's name
Set<String> getSkipParameterNames()
|
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 | ||||||||