javax.servlet
Interface ServletResponse
- All Known Subinterfaces:
- HttpServletResponse
- All Known Implementing Classes:
- HttpServletResponseWrapper, ServletResponseWrapper
- public interface ServletResponse
JML's specification of ServletResponse.
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this); |
getCharacterEncoding
public String getCharacterEncoding()
getContentType
public String getContentType()
getOutputStream
public ServletOutputStream getOutputStream()
throws IOException
- Throws:
IOException
- Specifications:
-
ensures \result != null;
getWriter
public PrintWriter getWriter()
throws IOException
- Throws:
IOException
- Specifications:
-
ensures \result != null;
setCharacterEncoding
public void setCharacterEncoding(String charset)
setContentLength
public void setContentLength(int len)
setContentType
public void setContentType(String type)
setBufferSize
public void setBufferSize(int size)
getBufferSize
public int getBufferSize()
flushBuffer
public void flushBuffer()
throws IOException
- Throws:
IOException
resetBuffer
public void resetBuffer()
isCommitted
public boolean isCommitted()
reset
public void reset()
setLocale
public void setLocale(Locale loc)
getLocale
public Locale getLocale()
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.