NASA World Wind WMS

gov.nasa.worldwind.servers.wms
Class WMSHttpServletResponse

java.lang.Object
  extended by gov.nasa.worldwind.servers.wms.WMSHttpServletResponse

public class WMSHttpServletResponse
extends Object


Field Summary
static int BAD_REQUEST
           
static int NO_CONTENT
           
static int NOT_FOUND
           
static int OK
           
static int SERVER_ERROR
           
static int UNKNOWN_STATUS
           
 
Constructor Summary
WMSHttpServletResponse(Socket s)
          Creates a new instance of WMSHttpServletResponse
 
Method Summary
 void addHeader(String header, String value)
           
 void flushBuffer()
           
 OutputStream getOutputStream()
           
 PrintWriter getWriter()
           
 boolean isCommitted()
           
 void setContentLength(int length)
           
 void setContentType(String type)
           
 void setStatus(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BAD_REQUEST

public static final int BAD_REQUEST
See Also:
Constant Field Values

NO_CONTENT

public static final int NO_CONTENT
See Also:
Constant Field Values

NOT_FOUND

public static final int NOT_FOUND
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
See Also:
Constant Field Values

UNKNOWN_STATUS

public static final int UNKNOWN_STATUS
See Also:
Constant Field Values
Constructor Detail

WMSHttpServletResponse

public WMSHttpServletResponse(Socket s)
                       throws IOException
Creates a new instance of WMSHttpServletResponse

Throws:
IOException
Method Detail

addHeader

public void addHeader(String header,
                      String value)

flushBuffer

public void flushBuffer()
                 throws IOException
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Throws:
IOException

getWriter

public PrintWriter getWriter()
                      throws IOException
Throws:
IOException

isCommitted

public boolean isCommitted()

setContentLength

public void setContentLength(int length)

setContentType

public void setContentType(String type)

setStatus

public void setStatus(int status)

NASA World Wind WMS