public abstract class AbstractNutsHttpServletFacadeContext extends Object implements NutsHttpServletFacadeContext
| Constructor and Description |
|---|
AbstractNutsHttpServletFacadeContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGetMethod() |
boolean |
isHeadMethod() |
boolean |
isPostMethod() |
void |
sendResponseBytes(int code,
byte[] bytes) |
void |
sendResponseFile(int code,
File file) |
void |
sendResponseFile(int code,
Path file) |
void |
sendResponseText(int code,
String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddResponseHeader, getParameters, getRequestBody, getRequestHeaderAllValues, getRequestHeaderFirstValue, getRequestHeaderKeys, getRequestMethod, getRequestURI, getResponseBody, sendError, sendResponseHeaderspublic AbstractNutsHttpServletFacadeContext()
public void sendResponseText(int code,
String text)
throws IOException
sendResponseText in interface NutsHttpServletFacadeContextIOExceptionpublic void sendResponseFile(int code,
File file)
throws IOException
sendResponseFile in interface NutsHttpServletFacadeContextIOExceptionpublic void sendResponseBytes(int code,
byte[] bytes)
throws IOException
sendResponseBytes in interface NutsHttpServletFacadeContextIOExceptionpublic void sendResponseFile(int code,
Path file)
throws IOException
sendResponseFile in interface NutsHttpServletFacadeContextIOExceptionpublic boolean isGetMethod()
throws IOException
isGetMethod in interface NutsHttpServletFacadeContextIOExceptionpublic boolean isPostMethod()
throws IOException
isPostMethod in interface NutsHttpServletFacadeContextIOExceptionpublic boolean isHeadMethod()
throws IOException
isHeadMethod in interface NutsHttpServletFacadeContextIOExceptionCopyright © 2021 vpc open source initiative. All rights reserved.