@ServiceProvider(value=) public final class LocalImagesService extends AbstractLocalRpcService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PACKAGE
The package name for this service.
|
Constructor and Description |
---|
LocalImagesService() |
Modifier and Type | Method and Description |
---|---|
ImagesCompositeResponse |
composite(Status status,
ImagesCompositeRequest request) |
ImagesDeleteUrlBaseResponse |
deleteUrlBase(Status status,
ImagesDeleteUrlBaseRequest request) |
java.lang.Integer |
getMaxApiRequestSize() |
java.lang.String |
getPackage() |
ImagesGetUrlBaseResponse |
getUrlBase(Status status,
ImagesGetUrlBaseRequest request)
Gets a Local image URL.
|
ImagesHistogramResponse |
histogram(Status status,
ImagesHistogramRequest request)
Calculate the histogram of the supplied image.
|
void |
init(LocalServiceContext context,
java.util.Map<java.lang.String,java.lang.String> properties) |
void |
start() |
void |
stop() |
ImagesTransformResponse |
transform(Status status,
ImagesTransformRequest request)
Apply the transform request to the contained image.
|
public static final java.lang.String PACKAGE
public java.lang.String getPackage()
public void init(LocalServiceContext context, java.util.Map<java.lang.String,java.lang.String> properties)
public void start()
public void stop()
public ImagesTransformResponse transform(Status status, ImagesTransformRequest request)
status
- RPC statusrequest
- request to be processedpublic ImagesCompositeResponse composite(Status status, ImagesCompositeRequest request)
status
- RPC statusrequest
- request to be processedpublic ImagesHistogramResponse histogram(Status status, ImagesHistogramRequest request)
status
- RPC statusrequest
- request to be processedpublic ImagesGetUrlBaseResponse getUrlBase(Status status, ImagesGetUrlBaseRequest request)
status
- RPC statusrequest
- request containing the blobkey to be servedpublic ImagesDeleteUrlBaseResponse deleteUrlBase(Status status, ImagesDeleteUrlBaseRequest request)
public java.lang.Integer getMaxApiRequestSize()