Method Summary |
|
public void | addCookie(Cookie cookie) |
public void | addDateHeader(String name, long date) |
public void | addHeader(String name, String value) |
public void | addIntHeader(String name, int value) |
public void | cleanUp() |
public void | clearIncludeStackForForward() |
public boolean | closeAfterRequest() Based on request/response headers and the protocol, determine whether or
not this connection should operate in keep-alive mode. |
public boolean | containsHeader(String name) |
public String | encodeRedirectURL(String url) |
public String | encodeRedirectUrl(String url) |
public String | encodeURL(String url) |
public String | encodeUrl(String url) |
public void | extractRequestKeepAliveHeader(WinstoneRequest req) |
public void | finishIncludeBuffer() |
public void | flushBuffer() |
public int | getBufferSize() |
public String | getCharacterEncoding() |
protected static String | getCharsetFromContentTypeHeader(String type, StringBuffer remainder) |
public String | getContentType() |
public List | getCookies() |
public Integer | getErrorStatusCode() |
public String | getHeader(String name) |
public List | getHeaders() |
public Locale | getLocale() |
public ServletOutputStream | getOutputStream() |
public String | getProtocol() |
public WinstoneRequest | getRequest() |
public int | getStatus() |
public WinstoneOutputStream | getWinstoneOutputStream() |
public PrintWriter | getWriter() |
public boolean | isCommitted() |
protected static void | quote(String value, StringBuffer out) Quotes the necessary strings in a cookie header. |
public void | reset() |
public void | resetBuffer() |
public void | sendError(int sc) |
public void | sendError(int sc, String msg) |
public void | sendRedirect(String location) |
public void | setBufferSize(int size) |
public void | setCharacterEncoding(String encoding) |
public void | setContentLength(int len) |
public void | setContentType(String type) |
public void | setDateHeader(String name, long date) |
public void | setErrorStatusCode(int statusCode) |
public void | setHeader(String name, String value) |
public void | setIntHeader(String name, int value) |
public void | setLocale(Locale loc) |
public void | setOutputStream(WinstoneOutputStream outData) |
public void | setProtocol(String protocol) |
public void | setRequest(WinstoneRequest req) |
public void | setStatus(int sc) |
public void | setStatus(int sc, String sm) |
public void | setWebAppConfig(WebAppConfiguration webAppConfig) |
public void | startIncludeBuffer() |
public void | validateHeaders() |
public String | writeCookie(Cookie cookie) |