org.apache.cxf.jaxrs.impl
Class RequestImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestImpl
public RequestImpl(Message m)
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