@Test(expected = IllegalArgumentException.class) public void testEvaluatePreconditionsBothNull() { ContainerRequest r = getContainerRequestForPreconditionsTest(); r.evaluatePreconditions(null, null); }
@Override public Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag) { if (eTag == null) { throw new IllegalArgumentException(METHOD_PARAMETER_CANNOT_BE_NULL_ETAG); } final Response.ResponseBuilder r = evaluateIfMatch(eTag); if (r != null) { return r; } return evaluateIfNoneMatch(eTag); }
ContainerRequest extends InboundMessageContext implements ContainerRequestContext, Request, HttpHeaders, PropertiesDelegate { @Override public Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag) { if (eTag == null) { throw new IllegalArgumentException(METHOD_PARAMETER_CANNOT_BE_NULL_ETAG); } final Response.ResponseBuilder r = evaluateIfMatch(eTag); if (r != null) { return r; } return evaluateIfNoneMatch(eTag); } }
ContainerRequest extends InboundMessageContext implements ContainerRequestContext, Request, HttpHeaders, PropertiesDelegate { @Override public Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag) { if (eTag == null) { throw new IllegalArgumentException(METHOD_PARAMETER_CANNOT_BE_NULL_ETAG); } final Response.ResponseBuilder r = evaluateIfMatch(eTag); if (r != null) { return r; } return evaluateIfNoneMatch(eTag); } ContainerRequest(
            final URI baseUri,
            final URI requestUri,
            final String httpMethod,
            final SecurityContext securityContext,
            final PropertiesDelegate propertiesDelegate); }
ContainerRequest extends InboundMessageContext implements ContainerRequestContext, Request, HttpHeaders, PropertiesDelegate { @Override public Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag) { if (eTag == null) { throw new IllegalArgumentException(METHOD_PARAMETER_CANNOT_BE_NULL_ETAG); } final Response.ResponseBuilder r = evaluateIfMatch(eTag); if (r != null) { return r; } return evaluateIfNoneMatch(eTag); } ContainerRequest(
            final URI baseUri,
            final URI requestUri,
            final String httpMethod,
            final SecurityContext securityContext,
            final PropertiesDelegate propertiesDelegate); RequestScopedInitializer getRequestScopedInitializer(); void setRequestScopedInitializer(final RequestScopedInitializer requestScopedInitializer); ContainerResponseWriter getResponseWriter(); void setWriter(final ContainerResponseWriter responseWriter); T readEntity(final Class<T> rawType); T readEntity(final Class<T> rawType, final Annotation[] annotations); T readEntity(final Class<T> rawType, final Type type); T readEntity(final Class<T> rawType, final Type type, final Annotation[] annotations); @Override Object getProperty(final String name); @Override Collection<String> getPropertyNames(); @Override void setProperty(final String name, final Object object); @Override void removeProperty(final String name); PropertiesDelegate getPropertiesDelegate(); @Override ExtendedUriInfo getUriInfo(); URI getBaseUri(); URI getRequestUri(); URI getAbsolutePath(); @Override void setRequestUri(final URI requestUri); @Override void setRequestUri(final URI baseUri, final URI requestUri); String getPath(final boolean decode); @Override String getMethod(); @Override void setMethod(final String method); void setMethodWithoutException(final String method); @Override SecurityContext getSecurityContext(); @Override void setSecurityContext(final SecurityContext context); @Override void setEntityStream(final InputStream input); @Override Request getRequest(); @Override void abortWith(final Response response); void inResponseProcessing(); Response getAbortResponse(); @Override Map<String, Cookie> getCookies(); @Override List<MediaType> getAcceptableMediaTypes(); @Override List<Locale> getAcceptableLanguages(); @Override Variant selectVariant(final List<Variant> variants); String getVaryValue(); @Override Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified, final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(); @Override List<String> getRequestHeader(final String name); @Override MultivaluedMap<String, String> getRequestHeaders(); }
ContainerRequest extends InboundMessageContext implements ContainerRequestContext, Request, HttpHeaders, PropertiesDelegate { @Override public Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag) { if (eTag == null) { throw new IllegalArgumentException(METHOD_PARAMETER_CANNOT_BE_NULL_ETAG); } final Response.ResponseBuilder r = evaluateIfMatch(eTag); if (r != null) { return r; } return evaluateIfNoneMatch(eTag); } ContainerRequest(
            final URI baseUri,
            final URI requestUri,
            final String httpMethod,
            final SecurityContext securityContext,
            final PropertiesDelegate propertiesDelegate); RequestScopedInitializer getRequestScopedInitializer(); void setRequestScopedInitializer(final RequestScopedInitializer requestScopedInitializer); ContainerResponseWriter getResponseWriter(); void setWriter(final ContainerResponseWriter responseWriter); T readEntity(final Class<T> rawType); T readEntity(final Class<T> rawType, final Annotation[] annotations); T readEntity(final Class<T> rawType, final Type type); T readEntity(final Class<T> rawType, final Type type, final Annotation[] annotations); @Override Object getProperty(final String name); @Override Collection<String> getPropertyNames(); @Override void setProperty(final String name, final Object object); @Override void removeProperty(final String name); PropertiesDelegate getPropertiesDelegate(); @Override ExtendedUriInfo getUriInfo(); URI getBaseUri(); URI getRequestUri(); URI getAbsolutePath(); @Override void setRequestUri(final URI requestUri); @Override void setRequestUri(final URI baseUri, final URI requestUri); String getPath(final boolean decode); @Override String getMethod(); @Override void setMethod(final String method); void setMethodWithoutException(final String method); @Override SecurityContext getSecurityContext(); @Override void setSecurityContext(final SecurityContext context); @Override void setEntityStream(final InputStream input); @Override Request getRequest(); @Override void abortWith(final Response response); void inResponseProcessing(); Response getAbortResponse(); @Override Map<String, Cookie> getCookies(); @Override List<MediaType> getAcceptableMediaTypes(); @Override List<Locale> getAcceptableLanguages(); @Override Variant selectVariant(final List<Variant> variants); String getVaryValue(); @Override Response.ResponseBuilder evaluatePreconditions(final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified); @Override Response.ResponseBuilder evaluatePreconditions(final Date lastModified, final EntityTag eTag); @Override Response.ResponseBuilder evaluatePreconditions(); @Override List<String> getRequestHeader(final String name); @Override MultivaluedMap<String, String> getRequestHeaders();  }