当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
HttpError (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.core
Class HttpError
java.lang.Object
org.jboss.seam.core.HttpError
@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="httpError")
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()