Uses of Class
one.xingyi.core.http.ServiceResponse
-
Packages that use ServiceResponse Package Description one.xingyi.core.endpoints one.xingyi.core.http one.xingyi.core.marshelling one.xingyi.core.mediatype one.xingyi.core.server -
-
Uses of ServiceResponse in one.xingyi.core.endpoints
Methods in one.xingyi.core.endpoints that return ServiceResponse Modifier and Type Method Description ServiceResponseEndpointResult. apply(ServiceRequest serviceRequest, Result result)static ServiceResponseEndPoint. defaultErrorHandler(java.lang.Throwable e)static ServiceResponseEndPoint. internalError(java.lang.Throwable e)Methods in one.xingyi.core.endpoints that return types with arguments of type ServiceResponse Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.util.Optional<ServiceResponse>>EntityMediaTypeEndpoint. apply(ServiceRequest serviceRequest)java.util.concurrent.CompletableFuture<java.util.Optional<ServiceResponse>>IdAndEntityMediaTypeEndpoint. apply(ServiceRequest serviceRequest)java.util.concurrent.CompletableFuture<java.util.Optional<ServiceResponse>>OptionalEntityMediaTypeEndpoint. apply(ServiceRequest serviceRequest)static java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>>EndPoint. toKliesli(java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<java.util.Optional<ServiceResponse>>> original, java.util.function.Function<ServiceRequest,java.lang.String> bodyIfNotFound)static java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>>EndPoint. toKliesli(EndPoint original)Methods in one.xingyi.core.endpoints with parameters of type ServiceResponse Modifier and Type Method Description static EndPointEndPoint. staticEndpoint(EndpointAcceptor0 acceptor, ServiceResponse serviceResponse)Method parameters in one.xingyi.core.endpoints with type arguments of type ServiceResponse Modifier and Type Method Description static java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>>EndPoint. toKliesli(java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<java.util.Optional<ServiceResponse>>> original, java.util.function.Function<ServiceRequest,java.lang.String> bodyIfNotFound) -
Uses of ServiceResponse in one.xingyi.core.http
Fields in one.xingyi.core.http with type parameters of type ServiceResponse Modifier and Type Field Description static java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>>JavaHttpClient. clientstatic java.util.function.Function<java.net.http.HttpResponse<java.lang.String>,ServiceResponse>JavaHttpClient. toServiceResponseMethods in one.xingyi.core.http that return ServiceResponse Modifier and Type Method Description static ServiceResponseServiceResponse. html(int status, java.lang.String body)static <J> ServiceResponseServiceResponse. jsonString(int status, java.lang.String json)static ServiceResponseServiceResponse. notFound(java.lang.String msg) -
Uses of ServiceResponse in one.xingyi.core.marshelling
Fields in one.xingyi.core.marshelling declared as ServiceResponse Modifier and Type Field Description ServiceResponseUnexpectedResponse. responseMethods in one.xingyi.core.marshelling with parameters of type ServiceResponse Modifier and Type Method Description static <Entity extends IXingYiClientResource,View extends IXingYiView<Entity>,Result>
java.util.concurrent.CompletableFuture<Result>IXingYiResponseSplitter. fromServiceResponse(IXingYiFactory factory, IXingYiResponseSplitter splitter, IXingYiRemoteAccessDetails<Entity,View> clientMaker, ServiceRequest serviceRequest, ServiceResponse serviceResponse, java.util.function.Function<View,Result> resultFn)static DataToBeSentToClientIXingYiResponseSplitter. rawSplit(ServiceResponse serviceResponse)Method parameters in one.xingyi.core.marshelling with type arguments of type ServiceResponse Modifier and Type Method Description static FetchJavascriptFetchJavascript. fromService(java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>> service)static FetchJavascriptFetchJavascript. fromServiceIfNeeded(java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>> service)static IXingYiResponseSplitterIXingYiResponseSplitter. splitter(java.util.function.Function<ServiceRequest,java.util.concurrent.CompletableFuture<ServiceResponse>> service)Constructors in one.xingyi.core.marshelling with parameters of type ServiceResponse Constructor Description UnexpectedResponse(java.lang.String message, ServiceResponse response)UnexpectedResponse(ServiceResponse response) -
Uses of ServiceResponse in one.xingyi.core.mediatype
Methods in one.xingyi.core.mediatype with parameters of type ServiceResponse Modifier and Type Method Description java.util.concurrent.CompletableFuture<ClientView>IMediaTypeClientDefn. makeFrom(ServiceResponse serviceResponse)This is the body of the service responsejava.util.concurrent.CompletableFuture<ClientView>JsonAndLensDefnClientMediaTypeDefn. makeFrom(ServiceResponse serviceResponse) -
Uses of ServiceResponse in one.xingyi.core.server
Methods in one.xingyi.core.server with parameters of type ServiceResponse Modifier and Type Method Description static voidHttpUtils. write(com.sun.net.httpserver.HttpExchange exchange, ServiceResponse response)
-