Toggle navigation
Home
org.infinispan.rest.framework.RestResponse to java.util.concurrent.CompletionStage<org.infinispan.rest.framework.RestResponse>
No. of Instances - 27
No. of Commits - 1
No. of Projects - {'infinispan'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Other
new SimpleRestResponse.Builder().entity(String.valueOf(Runtime.getRuntime().freeMemory())).build()
to
new SimpleRestResponse.Builder().entity(String.valueOf(Runtime.getRuntime().freeMemory())).build()
responseBuilder.status(404).build()
to
responseBuilder.status(404).build()
responseBuilder.status(200).entity(name + "->" + atomicInteger.get()).build()
to
responseBuilder.status(200).entity(name + "->" + atomicInteger.get()).build()
responseBuilder.build()
to
responseBuilder.build()
responseBuilder.status(HttpResponseStatus.NOT_FOUND.code()).entity("Counter not found").build()
to
responseBuilder.status(HttpResponseStatus.NOT_FOUND.code()).entity("Counter not found").build()
responseBuilder.status(404).build()
to
responseBuilder.status(404).build()
responseBuilder.status(200).build()
to
responseBuilder.status(200).build()
responseBuilder.entity(action + "(" + variable1+ ","+ variable2+ ","+ variable3+ ")").build()
to
responseBuilder.entity(action + "(" + variable1+ ","+ variable2+ ","+ variable3+ ")").build()
responseBuilder.entity(variable1 + "," + variable2).build()
to
responseBuilder.entity(variable1 + "," + variable2).build()
responseBuilder.status(HttpResponseStatus.NOT_FOUND.code()).build()
to
responseBuilder.status(HttpResponseStatus.NOT_FOUND.code()).build()
responseBuilder.entity(entity).build()
to
responseBuilder.entity(entity).build()
responseBuilder.status(200).entity(sb.toString()).build()
to
responseBuilder.status(200).entity(sb.toString()).build()
new SimpleRestResponse.Builder().entity("Hello World!").build()
to
new SimpleRestResponse.Builder().entity("Hello World!").build()
responseBuilder.status(503).build()
to
responseBuilder.status(503).build()
responseBuilder.status(200).build()
to
responseBuilder.status(200).build()
Add or Remove Method invocation
build
to
thenCompose
response.getEntity().toString()
to
join(response).getEntity().toString()
response.getStatus()
to
join(response).getStatus()
response.getStatus()
to
join(response).getStatus()
response.getEntity().toString()
to
join(response).getEntity().toString()
Long.valueOf(response.getEntity().toString())
to
Long.valueOf(join(response).getEntity().toString())
Long.valueOf(response.getEntity().toString())
to
Long.valueOf(join(response).getEntity().toString())
Long.valueOf(response.getEntity().toString())
to
Long.valueOf(join(response).getEntity().toString())
response.getEntity().toString()
to
join(response).getEntity().toString()
response.getEntity().toString()
to
join(response).getEntity().toString()