org.apache.http.util
Class Asserts

java.lang.Object
  extended by org.apache.http.util.Asserts

public class Asserts
extends Object


Constructor Summary
Asserts()
           
 
Method Summary
static void check(boolean expression, String message)
           
static void check(boolean expression, String message, Object... args)
           
static void check(boolean expression, String message, Object arg)
           
static void notBlank(CharSequence s, String name)
           
static void notEmpty(CharSequence s, String name)
           
static void notNull(Object object, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Asserts

public Asserts()
Method Detail

check

public static void check(boolean expression,
                         String message)

check

public static void check(boolean expression,
                         String message,
                         Object... args)

check

public static void check(boolean expression,
                         String message,
                         Object arg)

notNull

public static void notNull(Object object,
                           String name)

notEmpty

public static void notEmpty(CharSequence s,
                            String name)

notBlank

public static void notBlank(CharSequence s,
                            String name)


Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.