org.jboss.seam.faces
Class HttpError
java.lang.Object
org.jboss.seam.faces.HttpError
@Scope(value=APPLICATION)
@BypassInterceptors
@Name(value="org.jboss.seam.faces.httpError")
@Install(precedence=0,
classDependencies="javax.faces.context.FacesContext")
public class HttpError
- extends Object
Convenient HTTP errors
- Author:
- Gavin King
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 |
HttpError
public HttpError()
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()