public class GetImageParameter extends Object
Constructor and Description |
---|
GetImageParameter()
Default Constuctor necessary for json parsing
|
GetImageParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap,
ESize size,
Long userId)
This constructor parses all incoming parameter of a request into the class structure
|
GetImageParameter(String representation,
ESize size,
Long userId) |
Modifier and Type | Method and Description |
---|---|
ESize |
getSize()
Returns the constant Size.
|
Long |
getUserId()
Returns the UserId.
|
void |
handleUnknownProperties(String key,
Object value)
Log unknown properties to loglevel warn.
|
void |
setSize(ESize size)
Sets the constant Size.
|
void |
setUserId(Long userId)
Sets UserId.
|
public GetImageParameter()
public GetImageParameter(javax.ws.rs.core.MultivaluedMap<String,String> valueMap, ESize size, Long userId) throws RestApiIllegalRequestParameterException
public GetImageParameter(String representation, ESize size, Long userId) throws org.codehaus.jackson.JsonParseException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonParseException
org.codehaus.jackson.map.JsonMappingException
IOException
public void setSize(ESize size)
the
- constant sizepublic ESize getSize()
public void setUserId(Long userId)
userId
- public Long getUserId()
Copyright © 2019 Communote team. All rights reserved.