Class RestRequestHelper
- java.lang.Object
-
- de.xima.fc.api.rest.impl.common.util.RestRequestHelper
-
public class RestRequestHelper extends Object
Helper class for working with requests.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getContentType(javax.ws.rs.core.MultivaluedMap<String,String> headers)
static String
getFileName(javax.ws.rs.core.MultivaluedMap<String,String> headers)
static String
getHeader(javax.ws.rs.core.MultivaluedMap<String,String> headers, String headerName)
static Locale
getLocale(javax.servlet.http.HttpServletRequest servletRequest)
-
-
-
Method Detail
-
getLocale
public static Locale getLocale(javax.servlet.http.HttpServletRequest servletRequest)
-
getContentType
public static String getContentType(javax.ws.rs.core.MultivaluedMap<String,String> headers)
-
getFileName
public static String getFileName(javax.ws.rs.core.MultivaluedMap<String,String> headers)
-
-