org.exist.http.servlets
Class HttpResponseWrapper
java.lang.Object
org.exist.http.servlets.HttpResponseWrapper
- All Implemented Interfaces:
- ResponseWrapper
- public class HttpResponseWrapper
- extends java.lang.Object
- implements ResponseWrapper
- Author:
- Wolfgang Meier (wolfgang@exist-db.org)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpResponseWrapper
public HttpResponseWrapper(HttpServletResponse response)
addDateHeader
public void addDateHeader(java.lang.String arg0,
long arg1)
- Specified by:
addDateHeader in interface ResponseWrapper
- Parameters:
arg0 - arg1 -
addHeader
public void addHeader(java.lang.String arg0,
java.lang.String arg1)
- Specified by:
addHeader in interface ResponseWrapper
- Parameters:
arg0 - arg1 -
addIntHeader
public void addIntHeader(java.lang.String arg0,
int arg1)
- Specified by:
addIntHeader in interface ResponseWrapper
- Parameters:
arg0 - arg1 -
containsHeader
public boolean containsHeader(java.lang.String arg0)
- Specified by:
containsHeader in interface ResponseWrapper
- Parameters:
arg0 -
- Returns:
encodeURL
public java.lang.String encodeURL(java.lang.String arg0)
- Specified by:
encodeURL in interface ResponseWrapper
- Parameters:
arg0 -
- Returns:
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Specified by:
getCharacterEncoding in interface ResponseWrapper
- Returns:
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale in interface ResponseWrapper
- Returns:
sendRedirect
public void sendRedirect(java.lang.String arg0)
throws java.io.IOException
- Specified by:
sendRedirect in interface ResponseWrapper
- Parameters:
arg0 -
- Throws:
java.io.IOException
setDateHeader
public void setDateHeader(java.lang.String name,
long arg1)
- Specified by:
setDateHeader in interface ResponseWrapper
- Parameters:
name - arg1 -
getDateHeader
public long getDateHeader(java.lang.String name)
- Specified by:
getDateHeader in interface ResponseWrapper
- Returns:
- the value of Date Header corresponding to given name,
0 if none has been set.
setHeader
public void setHeader(java.lang.String arg0,
java.lang.String arg1)
- Specified by:
setHeader in interface ResponseWrapper
- Parameters:
arg0 - arg1 -
setIntHeader
public void setIntHeader(java.lang.String arg0,
int arg1)
- Specified by:
setIntHeader in interface ResponseWrapper
- Parameters:
arg0 - arg1 -
setLocale
public void setLocale(java.util.Locale arg0)
- Specified by:
setLocale in interface ResponseWrapper
- Parameters:
arg0 -
getOutputStream
public java.io.OutputStream getOutputStream()
throws java.io.IOException
- Specified by:
getOutputStream in interface ResponseWrapper
- Throws:
java.io.IOException
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.