org.jboss.seam.faces
Class HttpError

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

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


Copyright © 2011 Seam Framework. All Rights Reserved.