public class ResponseFactory extends Object
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response.ResponseBuilder |
created(URI location) |
static javax.ws.rs.core.CacheControl |
never() |
static javax.ws.rs.core.Response.ResponseBuilder |
noContent() |
static javax.ws.rs.core.Response.ResponseBuilder |
ok() |
static javax.ws.rs.core.Response.ResponseBuilder |
ok(Object entity) |
static javax.ws.rs.core.Response.ResponseBuilder |
ok(Object entity,
javax.ws.rs.core.CacheControl cacheControl) |
static javax.ws.rs.core.Response.ResponseBuilder |
serverError() |
static javax.ws.rs.core.Response.ResponseBuilder |
status(javax.ws.rs.core.Response.Status status) |
public static javax.ws.rs.core.CacheControl never()
public static javax.ws.rs.core.Response.ResponseBuilder ok()
public static javax.ws.rs.core.Response.ResponseBuilder ok(Object entity)
public static javax.ws.rs.core.Response.ResponseBuilder ok(Object entity, javax.ws.rs.core.CacheControl cacheControl)
public static javax.ws.rs.core.Response.ResponseBuilder created(URI location)
public static javax.ws.rs.core.Response.ResponseBuilder noContent()
public static javax.ws.rs.core.Response.ResponseBuilder status(javax.ws.rs.core.Response.Status status)
public static javax.ws.rs.core.Response.ResponseBuilder serverError()
Copyright © 2020 Atlassian. All rights reserved.