creates a response with the given status code.if code is ok , this function will be equivalent to #ok . concode_field_sep PlaceHolder placeHolder concode_field_sep Headers headers concode_elem_sep Optional<T> payload concode_elem_sep Response<P> withPayload concode_elem_sep Response<T> of concode_elem_sep Response<T> withHeaders concode_elem_sep Response<T> withHeader concode_elem_sep Response<T> ok concode_elem_sep Response<T> forPayload concode_elem_sep StatusType status
Response < T > function ( StatusType arg0 ) { return ResponseImpl . create ( arg0 ) ; }