Tabnine Logo
MultiMap.clear
Code IndexAdd Tabnine to your IDE (free)

How to use
clear
method
in
org.eclipse.jetty.util.MultiMap

Best Java code snippets using org.eclipse.jetty.util.MultiMap.clear (Showing top 20 results out of 315)

origin: org.eclipse.jetty/jetty-util

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 */
public void deleteParts ()
{
  if(!_parsed)
    return;
  
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStreamParser.MultiPart)p).cleanUp();
    }
    catch(Exception e)
    {
      err.add(e);
    }
  }
  _parts.clear();
  err.ifExceptionThrowRuntime();
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/** 
 * @see org.eclipse.jetty.webapp.AbstractConfiguration#postConfigure(org.eclipse.jetty.webapp.WebAppContext)
 */
@Override
public void postConfigure(WebAppContext context) throws Exception
{
  MultiMap map = (MultiMap)context.getAttribute(CLASS_INHERITANCE_MAP);
  if (map != null)
    map.clear();
  
  context.removeAttribute(CLASS_INHERITANCE_MAP);
  
  List<ContainerInitializer> initializers = (List<ContainerInitializer>)context.getAttribute(CONTAINER_INITIALIZERS);
  if (initializers != null)
    initializers.clear();
  if (_discoverableAnnotationHandlers != null)
    _discoverableAnnotationHandlers.clear();
 
  _classInheritanceHandler = null;
  if (_containerInitializerAnnotationHandlers != null)
    _containerInitializerAnnotationHandlers.clear();
  super.postConfigure(context);
}
origin: org.eclipse.jetty.aggregate/jetty-all-server

/** 
 * @see org.eclipse.jetty.webapp.AbstractConfiguration#postConfigure(org.eclipse.jetty.webapp.WebAppContext)
 */
@Override
public void postConfigure(WebAppContext context) throws Exception
{
  MultiMap map = (MultiMap)context.getAttribute(CLASS_INHERITANCE_MAP);
  if (map != null)
    map.clear();
  
  context.removeAttribute(CLASS_INHERITANCE_MAP);
  
  List<ContainerInitializer> initializers = (List<ContainerInitializer>)context.getAttribute(CONTAINER_INITIALIZERS);
  if (initializers != null)
    initializers.clear();
  if (_discoverableAnnotationHandlers != null)
    _discoverableAnnotationHandlers.clear();
 
  _classInheritanceHandler = null;
  if (_containerInitializerAnnotationHandlers != null)
    _containerInitializerAnnotationHandlers.clear();
  super.postConfigure(context);
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/** 
 * @see org.eclipse.jetty.webapp.AbstractConfiguration#postConfigure(org.eclipse.jetty.webapp.WebAppContext)
 */
@Override
public void postConfigure(WebAppContext context) throws Exception
{
  MultiMap map = (MultiMap)context.getAttribute(CLASS_INHERITANCE_MAP);
  if (map != null)
    map.clear();
  
  context.removeAttribute(CLASS_INHERITANCE_MAP);
  
  List<ContainerInitializer> initializers = (List<ContainerInitializer>)context.getAttribute(CONTAINER_INITIALIZERS);
  if (initializers != null)
    initializers.clear();
  if (_discoverableAnnotationHandlers != null)
    _discoverableAnnotationHandlers.clear();
 
  _classInheritanceHandler = null;
  if (_containerInitializerAnnotationHandlers != null)
    _containerInitializerAnnotationHandlers.clear();
  super.postConfigure(context);
}
origin: org.eclipse.jetty/server

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty.aggregate/jetty-all-server

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty.aggregate/jetty-webapp

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty.aggregate/jetty-server

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty.aggregate/jetty-plus

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty/jetty-http

_parts.clear();
origin: jenkinsci/winstone

_parts.clear();
origin: com.ovea.tajin.server/tajin-server-jetty9

_uri = null;
if (_baseParameters != null)
  _baseParameters.clear();
_parameters = null;
_paramsExtracted = false;
origin: org.eclipse.jetty.aggregate/jetty-webapp

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStream.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStreamParser.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: Nextdoor/bender

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStreamParser.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: org.eclipse.jetty.aggregate/jetty-server

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStream.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: org.eclipse.jetty.aggregate/jetty-plus

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStream.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStreamParser.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: org.eclipse.jetty.aggregate/jetty-all-server

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 * 
 * @throws MultiException
 */
public void deleteParts ()
throws MultiException
{
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStream.MultiPart)p).cleanUp();
    } 
    catch(Exception e)
    {     
      err.add(e); 
    }
  }
  _parts.clear();
  
  err.ifExceptionThrowMulti();
}
origin: jenkinsci/winstone

/**
 * Delete any tmp storage for parts, and clear out the parts list.
 */
public void deleteParts ()
{
  if(!_parsed)
    return;
  
  Collection<Part> parts = getParsedParts();
  MultiException err = new MultiException();
  for (Part p:parts)
  {
    try
    {
      ((MultiPartInputStreamParser.MultiPart)p).cleanUp();
    }
    catch(Exception e)
    {
      err.add(e);
    }
  }
  _parts.clear();
  err.ifExceptionThrowRuntime();
}
org.eclipse.jetty.utilMultiMapclear

Popular methods of MultiMap

  • <init>
  • add
    Add value to multi valued entry. If the entry is single valued, it is converted to the first value o
  • getValues
    Get multiple values. Single valued entries are converted to singleton lists.
  • keySet
  • entrySet
  • size
  • containsKey
  • getValue
    Get a value from a multiple value. If the value is not a multivalue, then index 0 retrieves the valu
  • put
    Put multi valued entry.
  • toStringArrayMap
  • values
  • get
  • values,
  • get,
  • addValues,
  • addAllValues,
  • isEmpty,
  • remove,
  • getString,
  • putAllValues

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • getContentResolver (Context)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Notification (javax.management)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • CodeWhisperer alternatives
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