test_class.declarator: httpMethod = "POST"
test_class.modifier: private
test_class.original_string: private String httpMethod = "POST";
test_class.type: String
test_class.var_name: httpMethod
test_class.declarator: requestUri = URI.create("http://localhost:8080/servlet/a/b/c")
test_class.modifier: private
test_class.original_string: private URI requestUri = URI.create("http://localhost:8080/servlet/a/b/c");
test_class.type: URI
test_class.var_name: requestUri
test_class.declarator: baseUri = URI.create("http://localhost:8080/servlet")
test_class.modifier: private
test_class.original_string: private URI baseUri = URI.create("http://localhost:8080/servlet");
test_class.type: URI
test_class.var_name: baseUri
test_class.declarator: headers = new MultivaluedHashMap<>()
test_class.modifier: private
test_class.original_string: private MultivaluedMap<String, String> headers = new MultivaluedHashMap<>();
test_class.type: MultivaluedMap<String, String>
test_class.var_name: headers
test_class.declarator: entityStream
test_class.modifier: private
test_class.original_string: private InputStream        entityStream;
test_class.type: InputStream
test_class.var_name: entityStream
test_class.declarator: securityContext
test_class.modifier: private
test_class.original_string: private SecurityContext    securityContext;
test_class.type: SecurityContext
test_class.var_name: securityContext
test_class.declarator: applicationContext
test_class.modifier: private
test_class.original_string: private ApplicationContext applicationContext;
test_class.type: ApplicationContext
test_class.var_name: applicationContext
test_class.declarator: containerRequest
test_class.modifier: private
test_class.original_string: private ContainerRequest containerRequest;
test_class.type: ContainerRequest
test_class.var_name: containerRequest
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/ContainerRequestTest.java
test_class.identifier: ContainerRequestTest
test_case.body: @Test
      public void evaluatesPreconditionsResponseByETagAndLastModificationDateAs_PRECONDITION_FAILED_WhenIfNoneMatchHeaderMatchesWithETag() {
          headers.putSingle(IF_NONE_MATCH, "\"1234567\"");
          Response response = containerRequest.evaluatePreconditions(new Date(), new EntityTag("1234567")).build();
          assertEquals(PRECONDITION_FAILED, response.getStatusInfo());
      }
test_case.class_method_signature: ContainerRequestTest.evaluatesPreconditionsResponseByETagAndLastModificationDateAs_PRECONDITION_FAILED_WhenIfNoneMatchHeaderMatchesWithETag()
test_case.full_signature: @Test public void evaluatesPreconditionsResponseByETagAndLastModificationDateAs_PRECONDITION_FAILED_WhenIfNoneMatchHeaderMatchesWithETag()
test_case.identifier: evaluatesPreconditionsResponseByETagAndLastModificationDateAs_PRECONDITION_FAILED_WhenIfNoneMatchHeaderMatchesWithETag
test_case.invocations: putSingle build evaluatePreconditions assertEquals getStatusInfo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void evaluatesPreconditionsResponseByETagAndLastModificationDateAs_PRECONDITION_FAILED_WhenIfNoneMatchHeaderMatchesWithETag()
focal_class.declarator: method
focal_class.modifier: private
focal_class.original_string: private String method;
focal_class.type: String
focal_class.var_name: method
focal_class.declarator: entityStream
focal_class.modifier: private
focal_class.original_string: private InputStream entityStream;
focal_class.type: InputStream
focal_class.var_name: entityStream
focal_class.declarator: httpHeaders
focal_class.modifier: private
focal_class.original_string: private MultivaluedMap<String, String> httpHeaders;
focal_class.type: MultivaluedMap<String, String>
focal_class.var_name: httpHeaders
focal_class.declarator: cookies
focal_class.modifier: private
focal_class.original_string: private Map<String, Cookie> cookies;
focal_class.type: Map<String, Cookie>
focal_class.var_name: cookies
focal_class.declarator: cookieHeaders
focal_class.modifier: private
focal_class.original_string: private List<String> cookieHeaders;
focal_class.type: List<String>
focal_class.var_name: cookieHeaders
focal_class.declarator: contentType
focal_class.modifier: private
focal_class.original_string: private MediaType contentType;
focal_class.type: MediaType
focal_class.var_name: contentType
focal_class.declarator: contentLanguage
focal_class.modifier: private
focal_class.original_string: private Locale contentLanguage;
focal_class.type: Locale
focal_class.var_name: contentLanguage
focal_class.declarator: acceptableMediaTypes
focal_class.modifier: private
focal_class.original_string: private List<AcceptMediaType> acceptableMediaTypes;
focal_class.type: List<AcceptMediaType>
focal_class.var_name: acceptableMediaTypes
focal_class.declarator: acceptLanguages
focal_class.modifier: private
focal_class.original_string: private List<Locale> acceptLanguages;
focal_class.type: List<Locale>
focal_class.var_name: acceptLanguages
focal_class.declarator: requestUri
focal_class.modifier: private
focal_class.original_string: private URI requestUri;
focal_class.type: URI
focal_class.var_name: requestUri
focal_class.declarator: baseUri
focal_class.modifier: private
focal_class.original_string: private URI baseUri;
focal_class.type: URI
focal_class.var_name: baseUri
focal_class.declarator: securityContext
focal_class.modifier: private
focal_class.original_string: private SecurityContext securityContext;
focal_class.type: SecurityContext
focal_class.var_name: securityContext
focal_class.declarator: variantsHandler = new VariantsHandler()
focal_class.modifier: private
focal_class.original_string: private VariantsHandler variantsHandler = new VariantsHandler();
focal_class.type: VariantsHandler
focal_class.var_name: variantsHandler
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/ContainerRequest.java
focal_class.identifier: ContainerRequest
focal_class.interfaces: implements GenericContainerRequest
focal_class.class_method_signature: ContainerRequest.ContainerRequest(String method, URI requestUri, URI baseUri, InputStream entityStream,
                              MultivaluedMap<String, String> httpHeaders, SecurityContext securityContext)
focal_class.full_signature: public  ContainerRequest(String method, URI requestUri, URI baseUri, InputStream entityStream,
                              MultivaluedMap<String, String> httpHeaders, SecurityContext securityContext)
focal_class.identifier: ContainerRequest
focal_class.modifiers: public
focal_class.parameters: (String method, URI requestUri, URI baseUri, InputStream entityStream,
                              MultivaluedMap<String, String> httpHeaders, SecurityContext securityContext)
focal_class.signature:  ContainerRequest(String method, URI requestUri, URI baseUri, InputStream entityStream,
                              MultivaluedMap<String, String> httpHeaders, SecurityContext securityContext)
focal_class.class_method_signature: ContainerRequest.getAcceptableMediaType(List<MediaType> mediaTypes)
focal_class.full_signature: @Override public MediaType getAcceptableMediaType(List<MediaType> mediaTypes)
focal_class.identifier: getAcceptableMediaType
focal_class.modifiers: @Override public
focal_class.parameters: (List<MediaType> mediaTypes)
focal_class.return: MediaType
focal_class.signature: MediaType getAcceptableMediaType(List<MediaType> mediaTypes)
focal_class.class_method_signature: ContainerRequest.getCookieHeaders()
focal_class.full_signature: @Override public List<String> getCookieHeaders()
focal_class.identifier: getCookieHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> getCookieHeaders()
focal_class.class_method_signature: ContainerRequest.getEntityStream()
focal_class.full_signature: @Override public InputStream getEntityStream()
focal_class.identifier: getEntityStream
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: InputStream
focal_class.signature: InputStream getEntityStream()
focal_class.class_method_signature: ContainerRequest.getRequestUri()
focal_class.full_signature: @Override public URI getRequestUri()
focal_class.identifier: getRequestUri
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: URI
focal_class.signature: URI getRequestUri()
focal_class.class_method_signature: ContainerRequest.getBaseUri()
focal_class.full_signature: @Override public URI getBaseUri()
focal_class.identifier: getBaseUri
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: URI
focal_class.signature: URI getBaseUri()
focal_class.class_method_signature: ContainerRequest.getMethod()
focal_class.full_signature: @Override public String getMethod()
focal_class.identifier: getMethod
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getMethod()
focal_class.class_method_signature: ContainerRequest.setMethod(String method)
focal_class.full_signature: @Override public void setMethod(String method)
focal_class.identifier: setMethod
focal_class.modifiers: @Override public
focal_class.parameters: (String method)
focal_class.return: void
focal_class.signature: void setMethod(String method)
focal_class.class_method_signature: ContainerRequest.setEntityStream(InputStream entityStream)
focal_class.full_signature: @Override public void setEntityStream(InputStream entityStream)
focal_class.identifier: setEntityStream
focal_class.modifiers: @Override public
focal_class.parameters: (InputStream entityStream)
focal_class.return: void
focal_class.signature: void setEntityStream(InputStream entityStream)
focal_class.class_method_signature: ContainerRequest.setUris(URI requestUri, URI baseUri)
focal_class.full_signature: @Override public void setUris(URI requestUri, URI baseUri)
focal_class.identifier: setUris
focal_class.modifiers: @Override public
focal_class.parameters: (URI requestUri, URI baseUri)
focal_class.return: void
focal_class.signature: void setUris(URI requestUri, URI baseUri)
focal_class.class_method_signature: ContainerRequest.setCookieHeaders(List<String> cookieHeaders)
focal_class.full_signature: @Override public void setCookieHeaders(List<String> cookieHeaders)
focal_class.identifier: setCookieHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> cookieHeaders)
focal_class.return: void
focal_class.signature: void setCookieHeaders(List<String> cookieHeaders)
focal_class.class_method_signature: ContainerRequest.setRequestHeaders(MultivaluedMap<String, String> httpHeaders)
focal_class.full_signature: @Override public void setRequestHeaders(MultivaluedMap<String, String> httpHeaders)
focal_class.identifier: setRequestHeaders
focal_class.modifiers: @Override public
focal_class.parameters: (MultivaluedMap<String, String> httpHeaders)
focal_class.return: void
focal_class.signature: void setRequestHeaders(MultivaluedMap<String, String> httpHeaders)
focal_class.class_method_signature: ContainerRequest.getAuthenticationScheme()
focal_class.full_signature: @Override public String getAuthenticationScheme()
focal_class.identifier: getAuthenticationScheme
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getAuthenticationScheme()
focal_class.class_method_signature: ContainerRequest.getUserPrincipal()
focal_class.full_signature: @Override public Principal getUserPrincipal()
focal_class.identifier: getUserPrincipal
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Principal
focal_class.signature: Principal getUserPrincipal()
focal_class.class_method_signature: ContainerRequest.isSecure()
focal_class.full_signature: @Override public boolean isSecure()
focal_class.identifier: isSecure
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSecure()
focal_class.class_method_signature: ContainerRequest.isUserInRole(String role)
focal_class.full_signature: @Override public boolean isUserInRole(String role)
focal_class.identifier: isUserInRole
focal_class.modifiers: @Override public
focal_class.parameters: (String role)
focal_class.return: boolean
focal_class.signature: boolean isUserInRole(String role)
focal_class.class_method_signature: ContainerRequest.evaluatePreconditions(EntityTag etag)
focal_class.full_signature: @Override public ResponseBuilder evaluatePreconditions(EntityTag etag)
focal_class.identifier: evaluatePreconditions
focal_class.modifiers: @Override public
focal_class.parameters: (EntityTag etag)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluatePreconditions(EntityTag etag)
focal_class.class_method_signature: ContainerRequest.evaluatePreconditions(Date lastModified)
focal_class.full_signature: @Override public ResponseBuilder evaluatePreconditions(Date lastModified)
focal_class.identifier: evaluatePreconditions
focal_class.modifiers: @Override public
focal_class.parameters: (Date lastModified)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluatePreconditions(Date lastModified)
focal_class.class_method_signature: ContainerRequest.evaluatePreconditions(Date lastModified, EntityTag etag)
focal_class.full_signature: @Override public ResponseBuilder evaluatePreconditions(Date lastModified, EntityTag etag)
focal_class.identifier: evaluatePreconditions
focal_class.modifiers: @Override public
focal_class.parameters: (Date lastModified, EntityTag etag)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluatePreconditions(Date lastModified, EntityTag etag)
focal_class.class_method_signature: ContainerRequest.evaluatePreconditions()
focal_class.full_signature: @Override public ResponseBuilder evaluatePreconditions()
focal_class.identifier: evaluatePreconditions
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluatePreconditions()
focal_class.class_method_signature: ContainerRequest.selectVariant(List<Variant> variants)
focal_class.full_signature: @Override public Variant selectVariant(List<Variant> variants)
focal_class.identifier: selectVariant
focal_class.modifiers: @Override public
focal_class.parameters: (List<Variant> variants)
focal_class.return: Variant
focal_class.signature: Variant selectVariant(List<Variant> variants)
focal_class.class_method_signature: ContainerRequest.getAcceptableLanguages()
focal_class.full_signature: @Override public List<Locale> getAcceptableLanguages()
focal_class.identifier: getAcceptableLanguages
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Locale>
focal_class.signature: List<Locale> getAcceptableLanguages()
focal_class.class_method_signature: ContainerRequest.getAcceptableMediaTypes()
focal_class.full_signature: @Override public List<MediaType> getAcceptableMediaTypes()
focal_class.identifier: getAcceptableMediaTypes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<MediaType>
focal_class.signature: List<MediaType> getAcceptableMediaTypes()
focal_class.class_method_signature: ContainerRequest.getAcceptMediaTypeList()
focal_class.full_signature: @Override public List<AcceptMediaType> getAcceptMediaTypeList()
focal_class.identifier: getAcceptMediaTypeList
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<AcceptMediaType>
focal_class.signature: List<AcceptMediaType> getAcceptMediaTypeList()
focal_class.class_method_signature: ContainerRequest.getCookies()
focal_class.full_signature: @Override public Map<String, Cookie> getCookies()
focal_class.identifier: getCookies
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Cookie>
focal_class.signature: Map<String, Cookie> getCookies()
focal_class.class_method_signature: ContainerRequest.getDate()
focal_class.full_signature: @Override public Date getDate()
focal_class.identifier: getDate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Date
focal_class.signature: Date getDate()
focal_class.class_method_signature: ContainerRequest.getLength()
focal_class.full_signature: @Override public int getLength()
focal_class.identifier: getLength
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getLength()
focal_class.class_method_signature: ContainerRequest.getLanguage()
focal_class.full_signature: @Override public Locale getLanguage()
focal_class.identifier: getLanguage
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Locale
focal_class.signature: Locale getLanguage()
focal_class.class_method_signature: ContainerRequest.getMediaType()
focal_class.full_signature: @Override public MediaType getMediaType()
focal_class.identifier: getMediaType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MediaType
focal_class.signature: MediaType getMediaType()
focal_class.class_method_signature: ContainerRequest.getRequestHeader(String name)
focal_class.full_signature: @Override public List<String> getRequestHeader(String name)
focal_class.identifier: getRequestHeader
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: List<String>
focal_class.signature: List<String> getRequestHeader(String name)
focal_class.class_method_signature: ContainerRequest.getHeaderString(String name)
focal_class.full_signature: @Override public String getHeaderString(String name)
focal_class.identifier: getHeaderString
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: String
focal_class.signature: String getHeaderString(String name)
focal_class.class_method_signature: ContainerRequest.getRequestHeaders()
focal_class.full_signature: @Override public MultivaluedMap<String, String> getRequestHeaders()
focal_class.identifier: getRequestHeaders
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MultivaluedMap<String, String>
focal_class.signature: MultivaluedMap<String, String> getRequestHeaders()
focal_class.class_method_signature: ContainerRequest.evaluateIfMatch(EntityTag etag)
focal_class.full_signature: private ResponseBuilder evaluateIfMatch(EntityTag etag)
focal_class.identifier: evaluateIfMatch
focal_class.modifiers: private
focal_class.parameters: (EntityTag etag)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluateIfMatch(EntityTag etag)
focal_class.class_method_signature: ContainerRequest.evaluateIfNoneMatch(EntityTag etag)
focal_class.full_signature: private ResponseBuilder evaluateIfNoneMatch(EntityTag etag)
focal_class.identifier: evaluateIfNoneMatch
focal_class.modifiers: private
focal_class.parameters: (EntityTag etag)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluateIfNoneMatch(EntityTag etag)
focal_class.class_method_signature: ContainerRequest.eTagsStrongEqual(EntityTag etag, EntityTag otherEtag)
focal_class.full_signature: private boolean eTagsStrongEqual(EntityTag etag, EntityTag otherEtag)
focal_class.identifier: eTagsStrongEqual
focal_class.modifiers: private
focal_class.parameters: (EntityTag etag, EntityTag otherEtag)
focal_class.return: boolean
focal_class.signature: boolean eTagsStrongEqual(EntityTag etag, EntityTag otherEtag)
focal_class.class_method_signature: ContainerRequest.eTagsWeakEqual(EntityTag etag, EntityTag otherEtag)
focal_class.full_signature: private boolean eTagsWeakEqual(EntityTag etag, EntityTag otherEtag)
focal_class.identifier: eTagsWeakEqual
focal_class.modifiers: private
focal_class.parameters: (EntityTag etag, EntityTag otherEtag)
focal_class.return: boolean
focal_class.signature: boolean eTagsWeakEqual(EntityTag etag, EntityTag otherEtag)
focal_class.class_method_signature: ContainerRequest.evaluateIfUnmodified(long lastModified)
focal_class.full_signature: private ResponseBuilder evaluateIfUnmodified(long lastModified)
focal_class.identifier: evaluateIfUnmodified
focal_class.modifiers: private
focal_class.parameters: (long lastModified)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluateIfUnmodified(long lastModified)
focal_class.class_method_signature: ContainerRequest.evaluateIfModified(long lastModified)
focal_class.full_signature: private ResponseBuilder evaluateIfModified(long lastModified)
focal_class.identifier: evaluateIfModified
focal_class.modifiers: private
focal_class.parameters: (long lastModified)
focal_class.return: ResponseBuilder
focal_class.signature: ResponseBuilder evaluateIfModified(long lastModified)
focal_class.class_method_signature: ContainerRequest.setVariantsHandler(VariantsHandler variantsHandler)
focal_class.full_signature:  void setVariantsHandler(VariantsHandler variantsHandler)
focal_class.identifier: setVariantsHandler
focal_class.parameters: (VariantsHandler variantsHandler)
focal_class.return: void
focal_class.signature: void setVariantsHandler(VariantsHandler variantsHandler)
focal_class.class_method_signature: ContainerRequest.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public ResponseBuilder evaluatePreconditions(EntityTag etag) {
          checkArgument(etag != null, "Null ETag is not supported");
          ResponseBuilder responseBuilder = evaluateIfMatch(etag);
          if (responseBuilder == null) {
              responseBuilder = evaluateIfNoneMatch(etag);
          }
          return responseBuilder;
      }
focal_method.class_method_signature: ContainerRequest.evaluatePreconditions(EntityTag etag)
focal_method.full_signature: @Override public ResponseBuilder evaluatePreconditions(EntityTag etag)
focal_method.identifier: evaluatePreconditions
focal_method.invocations: checkArgument evaluateIfMatch evaluateIfNoneMatch
focal_method.modifiers: @Override public
focal_method.parameters: (EntityTag etag)
focal_method.return: ResponseBuilder
focal_method.signature: ResponseBuilder evaluatePreconditions(EntityTag etag)