Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## chrriis.common
Class WebServer.WebServerContent

    java.lang.Object
      chrriis.common.WebServer.WebServerContent

Enclosing class:
  WebServer

    public abstract static class WebServer.WebServerContent

extends Object

Field Summary
`static String` | `MIME_APPLICATION_OCTET_STREAM`

Constructor Summary
`WebServer.WebServerContent()`

Method Summary
`long` | `getContentLength()`
`String` | `getContentType()`
`static String` | `getDefaultMimeType(String extension)`
`abstract InputStream` | `getInputStream()`
`static InputStream` | `getInputStream(String content)`
`long` | `getLastModified()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MIME_APPLICATION_OCTET_STREAM

    public static final String MIME_APPLICATION_OCTET_STREAM

See Also:
  Constant Field Values

Constructor Detail

### WebServer.WebServerContent

    public WebServer.WebServerContent()

Method Detail

### getDefaultMimeType

    public static String getDefaultMimeType(String extension)

### getInputStream

    public abstract InputStream getInputStream()

### getInputStream

    public static InputStream getInputStream(String content)

### getContentType

    public String getContentType()

### getContentLength

    public long getContentLength()

### getLastModified

    public long getLastModified()

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD