Package cz.quanti.mailq
Class Request
- java.lang.Object
-
- cz.quanti.mailq.Request
-
public class Request extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.RequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Request.RequestBuilderbuilder(String method)static Request.RequestBuilderbuilder(String method, String url)BaseEntitygetEntity()Map<String,String>getHeaders()StringgetMethod()Map<String,String>getParameters()StringgetPath()intgetTimeout()booleanhasEntity()booleanisCompanyRelated()
-
-
-
Method Detail
-
builder
public static Request.RequestBuilder builder(String method, String url)
-
builder
public static Request.RequestBuilder builder(String method)
-
getPath
public String getPath()
-
getMethod
public String getMethod()
-
hasEntity
public boolean hasEntity()
-
getEntity
public BaseEntity getEntity()
-
isCompanyRelated
public boolean isCompanyRelated()
-
getTimeout
public int getTimeout()
-
-