站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.0.1 API 英文版文档

HttpError (JBoss Seam API Documentation) - JBoss Seam 1.0.1 API 英文版文档


org.jboss.seam.core
Class HttpError

java.lang.Object
  extended by 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

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()