org.jboss.seam.exception.control.example.jaxrs.handler
Class ResponseBuilderProducer

java.lang.Object
  extended by org.jboss.seam.exception.control.example.jaxrs.handler.ResponseBuilderProducer

@RequestScoped
public class ResponseBuilderProducer
extends Object

A request-scoped resource for customizing an REST error response from within a Seam Catch exception handler.

Author:
Dan Allen

Constructor Summary
ResponseBuilderProducer()
           
 
Method Summary
 Response buildCatchResponse()
           
 Response.ResponseBuilder getResponseBuilder()
           
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseBuilderProducer

public ResponseBuilderProducer()
Method Detail

getResponseBuilder

@Produces
public Response.ResponseBuilder getResponseBuilder()

buildCatchResponse

@Produces
public Response buildCatchResponse()

initialize

@PostConstruct
public void initialize()


Copyright © 2010 Seam Framework. All Rights Reserved.