public class HandlerCore extends Object
Constructor and Description |
---|
HandlerCore() |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Response |
respond(javax.ws.rs.core.Response.Status status,
Exception exception)
Simplified interface for building responses.
|
protected javax.ws.rs.core.Response |
respond(javax.ws.rs.core.Response.Status status,
String partialMessage,
Exception exception)
Simplified interface for building responses.
|
void |
setManagementModel(ManagementModel managementModel) |
public void setManagementModel(ManagementModel managementModel)
managementModel
- the managementModel to setprotected javax.ws.rs.core.Response respond(javax.ws.rs.core.Response.Status status, Exception exception)
status
- What status code to use?exception
- What exception to report on?protected javax.ws.rs.core.Response respond(javax.ws.rs.core.Response.Status status, String partialMessage, Exception exception)
status
- What status code to use?partialMessage
- The prefix to the message.exception
- What exception to report on?Copyright © 2015–2018 The Apache Software Foundation. All rights reserved.