com.atlassian.bamboo.rest.entity
Class RestResponse.Builder
java.lang.Object
com.atlassian.bamboo.rest.entity.RestResponse.Builder
- Enclosing class:
- RestResponse
public static class RestResponse.Builder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestResponse.Builder
public RestResponse.Builder()
error
public RestResponse.Builder error(@NotNull
java.lang.String error)
fieldError
public RestResponse.Builder fieldError(@NotNull
java.lang.String fieldname,
@NotNull
java.lang.String error)
message
public RestResponse.Builder message(@NotNull
java.lang.String message)
warning
public RestResponse.Builder warning(@NotNull
java.lang.String warning)
build
public <T extends RestResponse> T build(java.lang.Class<T> responseType)
Copyright © 2012 Atlassian. All Rights Reserved.