servletresponse.java

来自「java servlet2.5 源码,对于学习servlet机制的人大为有用.」· Java 代码 · 共 50 行

JAVA
50
字号
// Decompiled by DJ v3.8.8.85 Copyright 2005 Atanas Neshkov  Date: 2007-7-29 14:23:06
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   ServletResponse.java

package javax.servlet;

import java.io.IOException;
import java.io.PrintWriter;
import java.util.Locale;

// Referenced classes of package javax.servlet:
//            ServletOutputStream

public interface ServletResponse
{

    public abstract String getCharacterEncoding();

    public abstract String getContentType();

    public abstract ServletOutputStream getOutputStream()
        throws IOException;

    public abstract PrintWriter getWriter()
        throws IOException;

    public abstract void setCharacterEncoding(String s);

    public abstract void setContentLength(int i);

    public abstract void setContentType(String s);

    public abstract void setBufferSize(int i);

    public abstract int getBufferSize();

    public abstract void flushBuffer()
        throws IOException;

    public abstract void resetBuffer();

    public abstract boolean isCommitted();

    public abstract void reset();

    public abstract void setLocale(Locale locale);

    public abstract Locale getLocale();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?