|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.upload.ServletRequestContext
public class ServletRequestContext
Provides access to the request information needed for a request made to an HTTP servlet.
| Constructor Summary | |
|---|---|
ServletRequestContext(javax.servlet.http.HttpServletRequest request)
Construct a context for this request. |
|
| Method Summary | |
|---|---|
int |
getContentLength()
Retrieve the content length of the request. |
java.lang.String |
getContentType()
Retrieve the content type of the request. |
java.io.InputStream |
getInputStream()
Retrieve the input stream for the request. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServletRequestContext(javax.servlet.http.HttpServletRequest request)
request - The request to which this context applies.| Method Detail |
|---|
public java.lang.String getContentType()
getContentType in interface RequestContextpublic int getContentLength()
getContentLength in interface RequestContext
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface RequestContextjava.io.IOException - if a problem occurs.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||