com.hp.hpl.jena.sparql.engine.http
Class HttpContentType
java.lang.Object
com.hp.hpl.jena.sparql.engine.http.HttpContentType
public class HttpContentType
- extends Object
Handle HTTP content type
HttpContentType
public HttpContentType(String s)
HttpContentType
public HttpContentType(String s,
String defaultMediaType,
String defaultCharset)
getMediaType
public String getMediaType()
- Returns:
- Media type as string
setCharset
public void setCharset(String charset)
- Parameters:
charset
- The charset to set.
getCharset
public String getCharset()
- Returns:
- charset as string
setMediaType
public void setMediaType(String mediaType)
- Parameters:
mediaType
- The mediaType to set.
toString
public String toString()
- Overrides:
toString
in class Object
Licenced under the Apache License, Version 2.0