T
- the generic typepublic class RestObject<T> extends Object
Constructor and Description |
---|
RestObject() |
Modifier and Type | Method and Description |
---|---|
T |
get()
Gets the.
|
int |
getStatusCode()
Gets the status code.
|
void |
set(T t)
Sets the.
|
void |
setStatusCode(int v)
Sets the status code.
|
public void set(T t)
t
- the tpublic T get()
public void setStatusCode(int v)
v
- the new status codepublic int getStatusCode()
Copyright © 2017. All rights reserved.