public class PUGRestImageRequest extends PUGRestRequest<BufferedImage>
Modifier and Type | Class and Description |
---|---|
static class |
PUGRestImageRequest.IMAGE_SIZE |
static class |
PUGRestImageRequest.RECORD_TYPE |
PUGRestRequest.COMPOUND_DOMAIN_INPUT, PUGRestRequest.COMPOUND_DOMAIN_OPERATION, PUGRestRequest.COMPOUND_DOMAIN_OUTPUT
Modifier and Type | Field and Description |
---|---|
protected int |
height |
protected PUGRestImageRequest.IMAGE_SIZE |
imageSize |
protected PUGRestImageRequest.RECORD_TYPE |
recordType |
protected int |
width |
input, operation, output, PUGREST_COMPOUND_URL, PUGREST_URL
Constructor and Description |
---|
PUGRestImageRequest() |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
PUGRestImageRequest.IMAGE_SIZE |
getImageSize() |
protected String |
getOptions() |
PUGRestImageRequest.RECORD_TYPE |
getRecordType() |
int |
getWidth() |
protected BufferedImage |
read(InputStream in) |
void |
setHeight(int height) |
void |
setImageSize(PUGRestImageRequest.IMAGE_SIZE imageSize) |
void |
setRecordType(PUGRestImageRequest.RECORD_TYPE recordType) |
void |
setWidth(int width) |
getInput, getOperation, getOutput, process, setInput, setOperation, setOutput, toString
get, send
protected PUGRestImageRequest.IMAGE_SIZE imageSize
protected PUGRestImageRequest.RECORD_TYPE recordType
protected int width
protected int height
public PUGRestImageRequest.IMAGE_SIZE getImageSize()
public void setImageSize(PUGRestImageRequest.IMAGE_SIZE imageSize)
public PUGRestImageRequest.RECORD_TYPE getRecordType()
public void setRecordType(PUGRestImageRequest.RECORD_TYPE recordType)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
protected String getOptions()
getOptions
in class PUGRestRequest<BufferedImage>
protected BufferedImage read(InputStream in) throws Exception
read
in class AbstractSearchRequest<BufferedImage>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.