/** * Set an "input" flash attribute. * @param name the flash attribute name * @param value the flash attribute value */ public MockHttpServletRequestBuilder flashAttr(String name, Object value) { addToMap(this.flashAttributes, name, value); return this; }
/** * Set a request attribute. * @param name the attribute name * @param value the attribute value */ public MockHttpServletRequestBuilder requestAttr(String name, Object value) { addToMap(this.requestAttributes, name, value); return this; }
/** * Set a session attribute. * @param name the session attribute name * @param value the session attribute value */ public MockHttpServletRequestBuilder sessionAttr(String name, Object value) { addToMap(this.sessionAttributes, name, value); return this; }
/** * Set a request attribute. * @param name the attribute name * @param value the attribute value */ public MockHttpServletRequestBuilder requestAttr(String name, Object value) { addToMap(this.requestAttributes, name, value); return this; }
/** * Set an "input" flash attribute. * @param name the flash attribute name * @param value the flash attribute value */ public MockHttpServletRequestBuilder flashAttr(String name, Object value) { addToMap(this.flashAttributes, name, value); return this; }
/** * Set a session attribute. * @param name the session attribute name * @param value the session attribute value */ public MockHttpServletRequestBuilder sessionAttr(String name, Object value) { addToMap(this.sessionAttributes, name, value); return this; }
/** * Set an "input" flash attribute. * @param name the flash attribute name * @param value the flash attribute value */ public MockHttpServletRequestBuilder flashAttr(String name, Object value) { addToMap(this.flashAttributes, name, value); return this; }
/** * Set a session attribute. * @param name the session attribute name * @param value the session attribute value */ public MockHttpServletRequestBuilder sessionAttr(String name, Object value) { addToMap(this.sessionAttributes, name, value); return this; }
/** * Set a request attribute. * @param name the attribute name * @param value the attribute value */ public MockHttpServletRequestBuilder requestAttr(String name, Object value) { addToMap(this.requestAttributes, name, value); return this; }