public static SetAttributeHandler setAttribute ( final HttpHandler next , final String attribute , final String value , final ClassLoader classLoader ) { return new SetAttributeHandler ( next , attribute , value , classLoader ) ; }
Returns an attribute setting handler that can be used to set an arbitrary attribute on the exchange . This includes functions such as adding and removing headers etc .