Tabnine Logo
MultiPartBody.getTextParameterValues
Code IndexAdd Tabnine to your IDE (free)

How to use
getTextParameterValues
method
in
org.apache.clerezza.jaxrs.utils.form.MultiPartBody

Best Java code snippets using org.apache.clerezza.jaxrs.utils.form.MultiPartBody.getTextParameterValues (Showing top 13 results out of 315)

origin: org.apache.clerezza/platform.usermanager.webinterface

private String getTextParamValueOfForm(MultiPartBody form, int index,
    String paramName) {
  String value = form.getTextParameterValues(paramName)[index];
  return value.trim().length() > 0 ? value : null;
}
origin: apache/stanbol

InputStream input = null;
if(data.getTextParameterValues(recipe) != null){
  recipe = data.getTextParameterValues(recipe) [0];
origin: org.apache.clerezza/platform.scripting.scriptmanager

AccessController.checkPermission(new ScriptManagerAppPermission());
UriRef scriptUri =
    new UriRef(form.getTextParameterValues("scriptUri")[0]);
String scriptName = form.getTextParameterValues("fileName")[0];
String scriptLanguageAndVersion =
    form.getTextParameterValues("scriptLanguage")[0];
String mediaType = form.getTextParameterValues("mediaType")[0];
String producedType =
    form.getTextParameterValues("producedType")[0];
String scriptCode = form.getTextParameterValues("scriptCode")[0];
origin: apache/stanbol

this.parameters.put(p, Arrays.asList(data.getTextParameterValues(p)));
origin: apache/stanbol

InputStream rules = null;
if(data.getTextParameterValues("description") != null){
  description = data.getTextParameterValues("description") [0];
origin: org.apache.clerezza/platform.scripting.scriptmanager

    form.getTextParameterValues("scriptExecutionUri")[0];
String scriptLanguageAndVersion =
    form.getTextParameterValues("scriptLanguage")[0];
String mediaType = form.getTextParameterValues("mediaType")[0];
String producedType =
    form.getTextParameterValues("producedType")[0];
String fileChoice = form.getTextParameterValues("fileChoice")[0];
String scriptName = "unnamed";
  if(form.getTextParameterValues("scriptCode").length > 0) {
    scriptFileBytes = form.getTextParameterValues("scriptCode")[0].
        getBytes();
  if(form.getTextParameterValues("scriptName").length > 0) {
    scriptName = form.getTextParameterValues("scriptName")[0];
    if(scriptName.trim().equals("")) {
      scriptName = "unnamed";
origin: apache/stanbol

InputStream input = null;
if(data.getTextParameterValues("recipe") != null){
  recipe = data.getTextParameterValues("recipe") [0];
origin: org.apache.clerezza/platform.usermanager.webinterface

String userName = getTextParamValueOfForm(form, 0, "userName");
String pathPrefix = getTextParamValueOfForm(form, 0, "pathPrefix");
String[] userRole = form.getTextParameterValues("userRoles");
List<String> userRoleList = Arrays.asList(userRole);
String email = getTextParamValueOfForm(form, 0, "email");
origin: apache/stanbol

if (data.getTextParameterValues("format").length > 0) {
  String value = data.getTextParameterValues("format")[0];
  if (!value.equals("auto")) {
    format = value;
if (data.getTextParameterValues("url").length > 0) {
  String value = data.getTextParameterValues("url")[0];
  try {
if (data.getTextParameterValues("alias").length > 0) {
  for (String value : data.getTextParameterValues("alias")) {
    if (!"null".equals(value)) {
      try {
origin: org.apache.clerezza/platform.usermanager.webinterface

public Response addUser(MultiPartBody form, @Context UriInfo uriInfo) {
  AccessController.checkPermission(new UserManagerAccessPermission());
  String userName = form.getTextParameterValues("userName")[0];
  String email = form.getTextParameterValues("email")[0];
  String pathPrefix = form.getTextParameterValues("pathPrefix")[0];
  String psw = form.getTextParameterValues("psw")[0];
  String[] userRole = form.getTextParameterValues("userRoles");
origin: org.apache.clerezza/platform.usermanager.webinterface

ArrayList<UriRef> customproperties = customPropertyManager.getPropertiesOfCollection(collection);
for (UriRef property : customproperties) {
  String[] values = form.getTextParameterValues(property.getUnicodeString());
  Lock writeLock = contentGraph.getLock().writeLock();
  writeLock.lock();
origin: apache/stanbol

if (data.getTextParameterValues("format").length > 0) {
  String value = data.getTextParameterValues("format")[0];
  if (!value.equals("auto")) {
    format = value;
if (data.getTextParameterValues("url").length > 0) {
  String value = data.getTextParameterValues("url")[0];
  try {
if (data.getTextParameterValues("library").length > 0) {
  String value = data.getTextParameterValues("library")[0];
  try {
if (data.getTextParameterValues("stored").length > 0) {
  String value = data.getTextParameterValues("stored")[0];
  keys.add(value);
origin: apache/stanbol

if (data.getTextParameterValues("format").length > 0) {
  String value = data.getTextParameterValues("format")[0];
  if (!value.equals("auto")) {
    format = value;
if (data.getTextParameterValues("url").length > 0) {
  String value = data.getTextParameterValues("url")[0];
  try {
if (data.getTextParameterValues("library").length > 0) {
  String value = data.getTextParameterValues("library")[0];
  try {
if (data.getTextParameterValues("stored").length > 0) {
  String value = data.getTextParameterValues("stored")[0];
  keys.add(value);
if (data.getTextParameterValues("scope").length > 0) {
  String value = data.getTextParameterValues("scope")[0];
  log.info("Request to append scope \"{}\".", value);
  if (toAppend == null) {
org.apache.clerezza.jaxrs.utils.formMultiPartBodygetTextParameterValues

Popular methods of MultiPartBody

  • getFormFileParameterValues
  • getTextParameterNames

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now