Apache CXF API

org.apache.cxf.jaxrs.impl
Class RequestImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.RequestImpl
All Implemented Interfaces:
javax.ws.rs.core.Request

public class RequestImpl
extends Object
implements javax.ws.rs.core.Request

TODO : deal with InvalidStateExceptions


Constructor Summary
RequestImpl(Message m)
           
 
Method Summary
 javax.ws.rs.core.Response.ResponseBuilder evaluateIfNotModifiedSince(Date lastModified)
           
 javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions()
           
 javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(Date lastModified)
           
 javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(Date lastModified, javax.ws.rs.core.EntityTag eTag)
           
 javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(javax.ws.rs.core.EntityTag eTag)
           
 String getMethod()
           
 javax.ws.rs.core.Variant selectVariant(List<javax.ws.rs.core.Variant> vars)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestImpl

public RequestImpl(Message m)
Method Detail

selectVariant

public javax.ws.rs.core.Variant selectVariant(List<javax.ws.rs.core.Variant> vars)
                                       throws IllegalArgumentException
Specified by:
selectVariant in interface javax.ws.rs.core.Request
Throws:
IllegalArgumentException

evaluatePreconditions

public javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(javax.ws.rs.core.EntityTag eTag)
Specified by:
evaluatePreconditions in interface javax.ws.rs.core.Request

evaluatePreconditions

public javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(Date lastModified)
Specified by:
evaluatePreconditions in interface javax.ws.rs.core.Request

evaluateIfNotModifiedSince

public javax.ws.rs.core.Response.ResponseBuilder evaluateIfNotModifiedSince(Date lastModified)

evaluatePreconditions

public javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions(Date lastModified,
                                                                       javax.ws.rs.core.EntityTag eTag)
Specified by:
evaluatePreconditions in interface javax.ws.rs.core.Request

getMethod

public String getMethod()
Specified by:
getMethod in interface javax.ws.rs.core.Request

evaluatePreconditions

public javax.ws.rs.core.Response.ResponseBuilder evaluatePreconditions()
Specified by:
evaluatePreconditions in interface javax.ws.rs.core.Request

Apache CXF API

Apache CXF