Package org.jboss.resteasy.util
Class NoContent
- java.lang.Object
-
- org.jboss.resteasy.util.NoContent
-
public class NoContent extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description NoContent()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcontentLengthCheck(MultivaluedMap<String,String> httpHeaders)static booleanisContentLengthZero(MultivaluedMap<String,String> httpHeaders)static InputStreamnoContentCheck(MultivaluedMap<String,String> httpHeaders, InputStream is)
-
-
-
Method Detail
-
noContentCheck
public static InputStream noContentCheck(MultivaluedMap<String,String> httpHeaders, InputStream is) throws NoContentException
- Throws:
NoContentException
-
isContentLengthZero
public static boolean isContentLengthZero(MultivaluedMap<String,String> httpHeaders)
-
contentLengthCheck
public static void contentLengthCheck(MultivaluedMap<String,String> httpHeaders) throws NoContentException
- Throws:
NoContentException
-
-