@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
/** * Set the message content media type. * * @param mediaType message content media type. */ public void setMediaType(final MediaType mediaType) { messageContext.setMediaType(mediaType); }
@Override public javax.ws.rs.core.Response.ResponseBuilder type(MediaType type) { context.setMediaType(type); return this; }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }
/** * Set a new message message entity. * * @param entity entity object. * @param annotations annotations attached to the entity. * @param mediaType entity media type. * @see javax.ws.rs.ext.MessageBodyWriter */ public void setEntity(Object entity, Annotation[] annotations, MediaType mediaType) { setEntity(entity, annotations); setMediaType(mediaType); }