net.stepniak.api.response
Class ResponseJson

java.lang.Object
  extended by net.stepniak.api.response.ResponseJson

public class ResponseJson
extends Object


Field Summary
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.ws.rs.core.UriInfo uriInfo
           
 
Constructor Summary
ResponseJson(net.stepniak.api.json.JsonMapper jsonMapper, javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 javax.ws.rs.core.Response created(Object entity, URI locationPath)
           
 javax.ws.rs.core.Response created(Object entity, URI locationPath, Date expires)
           
 javax.ws.rs.core.Response ok(Object entity)
           
 javax.ws.rs.core.Response ok(Object entity, URI locationPath)
           
 javax.ws.rs.core.Response ok(Object entity, URI locationPath, Date expires)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected final javax.servlet.http.HttpServletRequest request

uriInfo

protected final javax.ws.rs.core.UriInfo uriInfo
Constructor Detail

ResponseJson

public ResponseJson(net.stepniak.api.json.JsonMapper jsonMapper,
                    javax.ws.rs.core.UriInfo uriInfo,
                    javax.servlet.http.HttpServletRequest request)
Method Detail

ok

public javax.ws.rs.core.Response ok(Object entity,
                                    URI locationPath,
                                    Date expires)

ok

public javax.ws.rs.core.Response ok(Object entity,
                                    URI locationPath)

ok

public javax.ws.rs.core.Response ok(Object entity)

created

public javax.ws.rs.core.Response created(Object entity,
                                         URI locationPath,
                                         Date expires)

created

public javax.ws.rs.core.Response created(Object entity,
                                         URI locationPath)


Copyright © 2013. All Rights Reserved.