public class SendMailExceptionHandler extends ExceptionHandler
| Constructor and Description |
|---|
SendMailExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
setMailCommand(String mailCommand) |
void |
setMailResponseStatus(int mailResponseStatus) |
void |
setMailSubject(String mailSubject) |
void |
setMailTo(String mailTo) |
javax.ws.rs.core.Response |
toResponse(Exception ex) |
setContentType, setDefaultResponseStatuspublic void setMailTo(String mailTo)
public void setMailSubject(String mailSubject)
public void setMailCommand(String mailCommand)
public void setMailResponseStatus(int mailResponseStatus)
public javax.ws.rs.core.Response toResponse(Exception ex)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<Exception>toResponse in class ExceptionHandlerCopyright © 2016. All rights reserved.