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

## de.grogra.http
Class Request

    java.lang.Object
      de.grogra.http.Request

    public final class Request

extends java.lang.Object

Constructor Summary
`Request(java.lang.String method, java.lang.String uri, java.lang.String version, java.util.Map headerFields, byte[] content)`

Method Summary
`byte[]` | `getContent()`
`java.lang.String` | `getHeaderField(java.lang.String name)`
`java.lang.String` | `getMethod()`
`java.lang.String` | `getPath()`
`java.lang.String` | `getQuery()`
`java.lang.String` | `getURI()`
`java.lang.String` | `getVersion()`
`static Request` | `parse(java.io.BufferedInputStream in)`
`java.lang.String` | `toString()`

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

Constructor Detail

### Request

    public Request(java.lang.String method,
                   java.lang.String uri,
                   java.lang.String version,
                   java.util.Map headerFields,
                   byte[] content)

Method Detail

### getContent

    public byte[] getContent()

### getHeaderField

    public java.lang.String getHeaderField(java.lang.String name)

### getMethod

    public java.lang.String getMethod()

### getPath

    public java.lang.String getPath()

### getQuery

    public java.lang.String getQuery()

### getURI

    public java.lang.String getURI()

### getVersion

    public java.lang.String getVersion()

### parse

    public static Request parse(java.io.BufferedInputStream in)
                         throws java.io.IOException

  Throws:
    `java.io.IOException`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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