×

Web application framework for extracting content

  • US 9,886,424 B2
  • Filed: 08/30/2013
  • Issued: 02/06/2018
  • Est. Priority Date: 08/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of dynamically extracting context associated with a web request, comprising:

  • at a context analyzer layer, receiving a web request context, wherein the web request context comprises a coded expression;

    at the context analyzer layer, determining if the coded expression contains a property name of multiple property names;

    if the context analyzer layer determines the coded expression contains the property name of the multiple property names, updating the web request context at the context analyzer layer by replacing the coded expression with a value of the property name of the multiple property names;

    if the context analyzer layer determines the coded expression does not contain any property name of the multiple property names, updating the web request context by replacing at least a part of the coded expression by at least one of;

    at the context analyzer layer, determining that the coded expression starts with a request parameter attribute and replacing the at least the part of the coded expression with a value of a parameter name at the context analyzer layer;

    at the context analyzer layer, determining that the coded expression starts with a request cookie attribute and replacing the at least the part of the coded expression with a value of a cookie name at the context analyzer layer;

    at the context analyzer layer, determining that the coded expression starts with a request attribute and replacing the at least the part of the coded expression with a value of an attribute name at the context analyzer layer;

    at the context analyzer layer, determining that the coded expression starts with a request header attribute and replacing the at least the part of the coded expression with a value of a header name at the context analyzer layer;

    orat the context analyzer layer, determining that the coded expression starts with a context attribute and attempting to identify a context analyzer name class and replacing the at least the part of the coded expression with a value of a context key of the context analyzer name class at the context analyzer layer;

    at the context analyzer layer, determining if a value of the at least the part of the coded expression is null after replacing the at least the part of the coded expression;

    at the context analyzer layer, determining if the value of the at least the part of the coded expression is marked as required;

    if the value of the at least the part of the coded expression is (1) determined to be null and (2) not marked as required, then ignoring the value of the at least the part of the coded expression;

    if the value of the at least the part of the coded expression is (1) determined to be null and (2) marked as required, then, at the context analyzer layer, generating a warning in a log based at least in part on the determining that the value of the at least the part of the coded expression is null after replacing the at least the part of the coded expression;

    at the context analyzer layer, invoking the context key of the context analyzer name class; and

    at the context analyzer layer, determining that the context analyzer name class is not identified or that the value of the context key is not specified and then throwing an invalid configuration exception.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×