Package com.gentics.api.imagestore
Class GenticsImageStoreRequest
java.lang.Object
com.gentics.api.imagestore.GenticsImageStoreRequest
Bean for accessing and modifying request parameters before they are sent to the GenticsImageStore
- Author:
- Taylor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.http.Cookie[]
Returns a list of cookies included with the request to the GenticsImageStoreReturn a key/value Map of headers included with the request to the GenticsImageStoreReturns the path to the image called by the request to the GenticsImageStoreReturns all query parameters sent along with the request to the GenticsImageStore as a Stringvoid
setCookies
(javax.servlet.http.Cookie[] cookies) void
setHeaders
(Map<String, String> headers) void
setImageUri
(String imageUri) void
setQueryString
(String queryString)
-
Constructor Details
-
GenticsImageStoreRequest
public GenticsImageStoreRequest()
-
-
Method Details
-
getImageUri
Returns the path to the image called by the request to the GenticsImageStore- Returns:
- Path to the image
-
setImageUri
- Parameters:
imageUri
- image path to set
-
getQueryString
Returns all query parameters sent along with the request to the GenticsImageStore as a String- Returns:
- Query String
-
setQueryString
- Parameters:
queryString
- the String of query parameters to set
-
getCookies
public javax.servlet.http.Cookie[] getCookies()Returns a list of cookies included with the request to the GenticsImageStore- Returns:
- List of cookies
-
setCookies
public void setCookies(javax.servlet.http.Cookie[] cookies) - Parameters:
cookies
- the list of cookies included to set
-
getHeaders
Return a key/value Map of headers included with the request to the GenticsImageStore- Returns:
- Map of header values
-
setHeaders
- Parameters:
headers
- the key/value Map of headers to set
-