Class SimpleRestResponse.Builder
java.lang.Object
org.infinispan.rest.framework.impl.SimpleRestResponse.Builder
- All Implemented Interfaces:
RestResponseBuilder<SimpleRestResponse.Builder>
- Enclosing class:
- SimpleRestResponse
public static class SimpleRestResponse.Builder
extends Object
implements RestResponseBuilder<SimpleRestResponse.Builder>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()cacheControl(CacheControl cacheControl) contentLength(long length) contentType(String type) contentType(MediaType type) intlastModified(Long epoch) status(int status) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.rest.framework.impl.RestResponseBuilder
buildFuture
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Specified by:
buildin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
status
- Specified by:
statusin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
entity
- Specified by:
entityin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
cacheControl
- Specified by:
cacheControlin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
header
- Specified by:
headerin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
contentType
- Specified by:
contentTypein interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
contentType
- Specified by:
contentTypein interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
contentLength
- Specified by:
contentLengthin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
expires
- Specified by:
expiresin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
lastModified
- Specified by:
lastModifiedin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
addProcessedDate
- Specified by:
addProcessedDatein interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
location
- Specified by:
locationin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
eTag
- Specified by:
eTagin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
getStatus
public int getStatus()- Specified by:
getStatusin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
getEntity
- Specified by:
getEntityin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-
getHeader
- Specified by:
getHeaderin interfaceRestResponseBuilder<SimpleRestResponse.Builder>
-