Source Code

This module defines APIs common to HTTP clients and servers.

Platform: Java
By: Stéphane Épardaud, Matej Lazar
License: Apache Software License
Packages
ceylon.http.common
Dependencies
ceylon.collection1.3.3
ceylon.io1.3.3
Values
connectSource Codeshared connect connect
contentTypeFormUrlEncodedSource Codeshared String contentTypeFormUrlEncoded= "application/x-www-form-urlencoded"
contentTypeMultipartFormDataSource Codeshared String contentTypeMultipartFormData= "multipart/form-data"
deleteSource Codeshared delete delete
getSource Codeshared get get
Source Codeshared head head
optionsSource Codeshared options options
postSource Codeshared post post
putSource Codeshared put put
traceSource Codeshared trace trace
Functions
allowSource Codeshared Header allow({Method*} methods = ...)
Parameters:
  • methods = empty
contentLengthSource Codeshared Header contentLength(String contentLength)
contentTypeSource Codeshared Header contentType(String contentType, Charset? charset = null)
Parameters:
  • charset = null
parseMethodSource Codeshared Method parseMethod(String method)

Parse a method string to Method instance

Interfaces
MethodSource Codeshared Method

Http request method

Classes
AbstractMethodSource Codeshared abstract AbstractMethod
Source Codeshared Header

Represents an HTTP Header

connectSource Codeshared connect
deleteSource Codeshared delete
getSource Codeshared get
Source Codeshared head
optionsSource Codeshared options
postSource Codeshared post
putSource Codeshared put
traceSource Codeshared trace