public class AddMediaTypeProcessor extends Object
Constructor and Description |
---|
AddMediaTypeProcessor() |
Modifier and Type | Method and Description |
---|---|
static void |
moveSelectedResource(String resourePath,
String mimeMediaType,
ResourceServiceClient client) |
static boolean |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletConfig config) |
protected static boolean |
validateTheChangeInMediaType(String mimeMediaType) |
public static boolean process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletConfig config) throws Exception, org.wso2.carbon.registry.core.exceptions.RegistryException
Exception
org.wso2.carbon.registry.core.exceptions.RegistryException
public static void moveSelectedResource(String resourePath, String mimeMediaType, ResourceServiceClient client)
protected static boolean validateTheChangeInMediaType(String mimeMediaType)
Copyright © 2017 WSO2. All rights reserved.