/** * <p> * Specifies where in a web request to look for cross-site scripting attacks. * </p> * * @param fieldToMatch * Specifies where in a web request to look for cross-site scripting attacks. * @return Returns a reference to this object so that method calls can be chained together. */ public XssMatchTuple withFieldToMatch(FieldToMatch fieldToMatch) { setFieldToMatch(fieldToMatch); return this; }
if (context.testExpression("FieldToMatch", targetDepth)) { context.nextToken(); xssMatchTuple.setFieldToMatch(FieldToMatchJsonUnmarshaller.getInstance().unmarshall(context));
if (context.testExpression("FieldToMatch", targetDepth)) { context.nextToken(); xssMatchTuple.setFieldToMatch(FieldToMatchJsonUnmarshaller.getInstance().unmarshall(context));