public class RxEntity
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
static RxEntity |
accepted() |
static RxEntity |
badRequest() |
reactor.core.publisher.Mono<Entity> |
body(java.lang.Object body) |
reactor.core.publisher.Mono<Entity> |
build() |
RxEntity |
contentType(java.lang.String contentType) |
RxEntity |
headerAdd(java.lang.String name,
java.lang.String value) |
RxEntity |
headerRemove(java.lang.String name) |
RxEntity |
headerSet(java.lang.String name,
java.lang.String value) |
static RxEntity |
notFound() |
static RxEntity |
ok() |
static RxEntity |
status(int code) |
public RxEntity headerAdd(java.lang.String name, java.lang.String value)
public RxEntity headerRemove(java.lang.String name)
public RxEntity headerSet(java.lang.String name, java.lang.String value)
public RxEntity contentType(java.lang.String contentType)
public reactor.core.publisher.Mono<Entity> body(java.lang.Object body)
public reactor.core.publisher.Mono<Entity> build()
public static RxEntity ok()
public static RxEntity badRequest()
public static RxEntity notFound()
public static RxEntity accepted()
public static RxEntity status(int code)