com.commsen.jwebthumb
Class WebThumbRequest

java.lang.Object
  extended by com.commsen.jwebthumb.WebThumbRequest
All Implemented Interfaces:
java.io.Serializable

public class WebThumbRequest
extends java.lang.Object
implements java.io.Serializable

This class represents the payload of webthumb's 'request' API call. See http://webthumb.bluga.net/apidoc#request for details

Author:
Milen Dyankov
See Also:
http://webthumb.bluga.net/apidoc#request, Serialized Form

Nested Class Summary
static class WebThumbRequest.CustomThumbnail
           
static class WebThumbRequest.Excerpt
           
static class WebThumbRequest.OutputType
           
 
Constructor Summary
WebThumbRequest(java.lang.String url)
           
WebThumbRequest(java.lang.String url, WebThumbRequest.OutputType outputType)
           
 
Method Summary
 WebThumbRequest.CustomThumbnail getCustomThumbnail()
           
 java.lang.Integer getDelay()
           
 java.lang.String getEffect()
           
 WebThumbRequest.Excerpt getExcerpt()
           
 boolean getFullthumb()
           
 java.lang.Integer getHeight()
           
 java.lang.String getNotify()
           
 WebThumbRequest.OutputType getOutputType()
           
 java.lang.String getUrl()
           
 java.lang.Integer getWidth()
           
 void setCustomThumbnail(WebThumbRequest.CustomThumbnail customThumbnail)
           
 void setDelay(java.lang.Integer delay)
           
 void setEffect(java.lang.String effect)
           
 void setExcerpt(WebThumbRequest.Excerpt excerpt)
           
 void setFullthumb(boolean fullthumb)
           
 void setHeight(java.lang.Integer height)
           
 void setNotify(java.lang.String notify)
           
 void setOutputType(WebThumbRequest.OutputType outputType)
           
 void setUrl(java.lang.String url)
           
 void setWidth(java.lang.Integer width)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebThumbRequest

public WebThumbRequest(java.lang.String url)

WebThumbRequest

public WebThumbRequest(java.lang.String url,
                       WebThumbRequest.OutputType outputType)
Method Detail

getUrl

public java.lang.String getUrl()
Returns:
the url

setUrl

public void setUrl(java.lang.String url)
Parameters:
url - the url to set

getOutputType

public WebThumbRequest.OutputType getOutputType()
Returns:
the outputType

setOutputType

public void setOutputType(WebThumbRequest.OutputType outputType)
Parameters:
outputType - the outputType to set

getWidth

public java.lang.Integer getWidth()
Returns:
the width

setWidth

public void setWidth(java.lang.Integer width)
Parameters:
width - the width to set

getHeight

public java.lang.Integer getHeight()
Returns:
the height

setHeight

public void setHeight(java.lang.Integer height)
Parameters:
height - the height to set

getFullthumb

public boolean getFullthumb()
Returns:
the fullthumb

setFullthumb

public void setFullthumb(boolean fullthumb)
Parameters:
fullthumb - the fullthumb to set

getCustomThumbnail

public WebThumbRequest.CustomThumbnail getCustomThumbnail()
Returns:
the customThumbnail

setCustomThumbnail

public void setCustomThumbnail(WebThumbRequest.CustomThumbnail customThumbnail)
Parameters:
customThumbnail - the customThumbnail to set

getEffect

public java.lang.String getEffect()
Returns:
the effect

setEffect

public void setEffect(java.lang.String effect)
Parameters:
effect - the effect to set

getDelay

public java.lang.Integer getDelay()
Returns:
the delay

setDelay

public void setDelay(java.lang.Integer delay)
Parameters:
delay - the delay to set

getNotify

public java.lang.String getNotify()
Returns:
the notify

setNotify

public void setNotify(java.lang.String notify)
Parameters:
notify - the notify to set

getExcerpt

public WebThumbRequest.Excerpt getExcerpt()
Returns:
the excerpt

setExcerpt

public void setExcerpt(WebThumbRequest.Excerpt excerpt)
Parameters:
excerpt - the excerpt to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 COMMSEN International. All Rights Reserved.