|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.noelios.restlet.http.HttpConverter
com.noelios.restlet.http.HttpServerConverter
public class HttpServerConverter
Converter of low-level HTTP server calls into high-level uniform calls.
| Constructor Summary | |
|---|---|
HttpServerConverter(Context context)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
addResponseHeaders(HttpResponse response)
Adds the response headers for the handled uniform call. |
void |
commit(HttpResponse response)
Commits the changes to a handled uniform call back into the original HTTP call. |
HttpRequest |
toRequest(HttpServerCall httpCall)
Converts a low-level HTTP call into a high-level uniform request. |
| Methods inherited from class com.noelios.restlet.http.HttpConverter |
|---|
addAdditionalHeaders, getContext, getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServerConverter(Context context)
context - The client context.| Method Detail |
|---|
public HttpRequest toRequest(HttpServerCall httpCall)
httpCall - The low-level HTTP call.
public void commit(HttpResponse response)
response - The high-level response.protected void addResponseHeaders(HttpResponse response)
response - The response returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||