FileDocCategorySizeDatePackage
MyResponse.javaAPI DocExample2082Sun Mar 14 11:48:22 GMT 2004None

MyResponse

public class MyResponse extends Object implements HttpServletResponse

Fields Summary
Constructors Summary
public MyResponse()
Construct a dummy Response

	
public MyResponse(OutputStream out)
Construct a Response to the given Socket

	
Methods Summary
public voidaddCookie(javax.servlet.http.Cookie cookie)

 return; 
public voidaddDateHeader(java.lang.String name, long val)

 return; 
public voidaddHeader(java.lang.String name, java.lang.String val)

 return; 
public voidaddIntHeader(java.lang.String name, int val)

 return; 
public booleancontainsHeader(java.lang.String hdrName)

 return false; 
public java.lang.StringencodeRedirectURL(java.lang.String url)

 return null; 
public java.lang.StringencodeRedirectUrl(java.lang.String url)

 return null; 
public java.lang.StringencodeURL(java.lang.String url)

 return null; 
public java.lang.StringencodeUrl(java.lang.String url)

 return null; 
public voidflushBuffer()

 
public intgetBufferSize()

 return 42; 
public java.lang.StringgetCharacterEncoding()

 return "iso-8859-1"; 
public java.util.LocalegetLocale()

 return Locale.US; 
public javax.servlet.ServletOutputStreamgetOutputStream()

 return null; 
public java.io.PrintWritergetWriter()

 return null; 
public booleanisCommitted()

 return true; 
public voidreset()

 
public voidresetBuffer()

 
public voidsendError(int code)

 return; 
public voidsendError(int code, java.lang.String val)

 return; 
public voidsendRedirect(java.lang.String url)

 return; 
public voidsetBufferSize(int size)

 
public voidsetContentLength(int len)

 
public voidsetContentType(java.lang.String type)

 
public voidsetDateHeader(java.lang.String val, long dval)

		setHeader("Date", new java.util.Date(dval).toString());
	
public voidsetHeader(java.lang.String name, java.lang.String val)

 return; 
public voidsetIntHeader(java.lang.String name, int ival)

		setHeader(name, Integer.toString(ival));
	
public voidsetLocale(java.util.Locale loc)

 
public voidsetStatus(int status)

 return; 
public voidsetStatus(int status, java.lang.String mesg)

 return;