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

## org.jboss.seam.core
Class HttpError

    java.lang.Object
      org.jboss.seam.core.HttpError

    @Scope(value=APPLICATION)
    @Intercept(value=NEVER)
    @Name(value="org.jboss.seam.core.httpError")
    @Install(precedence=0)
    public class HttpError

extends Object

Convenient HTTP errors

Author:
  Gavin King

Constructor Summary
`HttpError()`

Method Summary
`static HttpError` | `instance()`
`void` | `send(int code)` Send a HTTP error as the response
`void` | `send(int code, String message)` Send a HTTP error as the response

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

Constructor Detail

### HttpError

    public HttpError()

Method Detail

### send

    public void send(int code)

  Send a HTTP error as the response

### send

    public void send(int code,
                     String message)

  Send a HTTP error as the response

### instance

    public static HttpError instance()

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