play.utils
Class HTTP

java.lang.Object
  extended by play.utils.HTTP

public class HTTP
extends java.lang.Object


Nested Class Summary
static class HTTP.ContentTypeWithEncoding
           
 
Constructor Summary
HTTP()
           
 
Method Summary
static java.lang.String fixCaseForHttpHeader(java.lang.String headerName)
          Use this method to make sure you have the correct caseing of a http header name.
static HTTP.ContentTypeWithEncoding parseContentType(java.lang.String contentType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTP

public HTTP()
Method Detail

parseContentType

public static HTTP.ContentTypeWithEncoding parseContentType(java.lang.String contentType)

fixCaseForHttpHeader

public static java.lang.String fixCaseForHttpHeader(java.lang.String headerName)
Use this method to make sure you have the correct caseing of a http header name. eg: fixes 'content-type' to 'Content-Type'



Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly