/** * Sets the value of the named property. Will throw a runtime exception if the property does not exist or * cannot accept the specified value. **/ public void set( String propertyName, Object value ) { if (propertyName.equalsIgnoreCase( "location" )) { getResponse().getScriptableObject().set( "location", value ); } else { super.set( propertyName, value ); } }
/** * Sets the value of the named property. Will throw a runtime exception if the property does not exist or * cannot accept the specified value. **/ public void set( String propertyName, Object value ) { if (propertyName.equalsIgnoreCase( "location" )) { getResponse().getScriptableObject().set( "location", value ); } else { super.set( propertyName, value ); } }
/** * Sets the value of the named property. Will throw a runtime exception if the property does not exist or * cannot accept the specified value. **/ public void set( String propertyName, Object value ) { if (propertyName.equalsIgnoreCase( "location" )) { getResponse().getScriptableObject().set( "location", value ); } else { super.set( propertyName, value ); } }