object.
It has the same properties except that the url and the parameters
are different.
| Method from org.apache.cocoon.environment.wrapper.RequestWrapper Detail: |
public Object get(String name) {
return this.req.get(name);
}
|
public Object getAttribute(String name) {
return this.req.getAttribute(name);
}
|
public Enumeration getAttributeNames() {
return this.req.getAttributeNames();
}
|
public String getAuthType() {
return this.req.getAuthType();
}
|
public String getCharacterEncoding() {
return this.req.getCharacterEncoding();
}
|
public int getContentLength() {
return this.req.getContentLength();
}
|
public String getContentType() {
return this.req.getContentType();
}
|
public String getContextPath() {
return this.req.getContextPath();
}
|
public Map getCookieMap() {
return this.req.getCookieMap();
}
|
public Cookie[] getCookies() {
return this.req.getCookies();
}
|
public long getDateHeader(String name) {
return this.req.getDateHeader(name);
}
|
public String getHeader(String name) {
return this.req.getHeader(name);
}
|
public Enumeration getHeaderNames() {
return this.req.getHeaderNames();
}
|
public Enumeration getHeaders(String name) {
return this.req.getHeaders(name);
}
|
public Locale getLocale() {
return this.req.getLocale();
}
|
public Enumeration getLocales() {
return this.req.getLocales();
}
|
public String getMethod() {
return this.req.getMethod();
}
|
public String getParameter(String name) {
String value = this.parameters.getParameter(name);
if (value == null && this.rawMode == false)
return this.req.getParameter(name);
else
return value;
}
|
public Enumeration getParameterNames() {
if ( this.rawMode == false ) {
// put all parameter names into a set
Set parameterNames = new HashSet();
Enumeration names = this.parameters.getParameterNames();
while (names.hasMoreElements()) {
parameterNames.add(names.nextElement());
}
names = this.req.getParameterNames();
while (names.hasMoreElements()) {
parameterNames.add(names.nextElement());
}
return new EnumerationFromIterator(parameterNames.iterator());
} else {
return this.parameters.getParameterNames();
}
}
|
public String[] getParameterValues(String name) {
if ( this.rawMode == false) {
String[] values = this.parameters.getParameterValues(name);
String[] inherited = this.req.getParameterValues(name);
if (inherited == null) return values;
if (values == null) return inherited;
String[] allValues = new String[values.length + inherited.length];
System.arraycopy(values, 0, allValues, 0, values.length);
System.arraycopy(inherited, 0, allValues, values.length, inherited.length);
return allValues;
} else {
return this.parameters.getParameterValues(name);
}
}
|
public String getPathInfo() {
return this.req.getPathInfo();
}
|
public String getPathTranslated() {
return this.req.getPathTranslated();
}
|
public String getProtocol() {
return this.req.getProtocol();
}
|
public String getQueryString() {
return this.queryString;
}
|
public String getRemoteAddr() {
return this.req.getRemoteAddr();
}
|
public String getRemoteHost() {
return this.req.getRemoteHost();
}
|
public String getRemoteUser() {
return this.req.getRemoteUser();
}
|
public String getRequestURI() {
return this.requestURI;
}
|
public String getRequestedSessionId() {
return this.req.getRequestedSessionId();
}
|
public String getScheme() {
return this.req.getScheme();
}
|
public String getServerName() {
return this.req.getServerName();
}
|
public int getServerPort() {
return this.req.getServerPort();
}
|
public String getServletPath() {
return this.req.getServletPath();
}
|
public Session getSession() {
return this.req.getSession();
}
|
public Session getSession(boolean create) {
return this.req.getSession(create);
}
|
public String getSitemapURI() {
return this.environment.getURI();
}
|
public String getSitemapURIPrefix() {
return this.environment.getURIPrefix();
}
|
public Principal getUserPrincipal() {
return this.req.getUserPrincipal();
}
|
public boolean isRequestedSessionIdFromCookie() {
return this.req.isRequestedSessionIdFromCookie();
}
|
public boolean isRequestedSessionIdFromURL() {
return this.req.isRequestedSessionIdFromURL();
}
|
public boolean isRequestedSessionIdFromUrl() {
return this.req.isRequestedSessionIdFromURL();
}
|
public boolean isRequestedSessionIdValid() {
return this.req.isRequestedSessionIdValid();
}
|
public boolean isSecure() {
return this.req.isSecure();
}
|
public boolean isUserInRole(String role) {
return this.req.isUserInRole(role);
}
|
public void removeAttribute(String name) {
this.req.removeAttribute(name);
}
|
public void setAttribute(String name,
Object o) {
this.req.setAttribute(name, o);
}
|
public void setCharacterEncoding(String enc) throws UnsupportedEncodingException {
this.req.setCharacterEncoding(enc);
}
|
public void setRequestURI(String prefix,
String uri) {
StringBuffer buffer = new StringBuffer(this.getContextPath());
buffer.append('/");
buffer.append(prefix);
buffer.append(uri);
this.requestURI = buffer.toString();
}
|