Package org.takes
Interface Head
-
- All Known Subinterfaces:
Request
,Response
,RqCookies
,RqFallback
,RqForm
,RqHeaders
,RqHref
,RqMethod
,RqMultipart
,RqRegex
,RqRequestLine
,RsHeaders
,RsStatus
- All Known Implementing Classes:
RequestOf
,ResponseOf
,RqAuth
,RqBuffered
,RqChunk
,RqCookies.Base
,RqEmpty
,RqFake
,RqFallback.Fake
,RqFormBase
,RqFormFake
,RqFormSmart
,RqGreedy
,RqHeaders.Base
,RqHeaders.Smart
,RqHref.Base
,RqHref.Smart
,RqLengthAware
,RqLive
,RqMethod.Base
,RqMtBase
,RqMtFake
,RqMtSmart
,RqOnce
,RqPrint
,RqRegex.Fake
,RqRequestLine.Base
,RqSimple
,RqSocket
,RqWithAuth
,RqWithBody
,RqWithDefaultHeader
,RqWithHeader
,RqWithHeaders
,RqWithoutHeader
,RqWrap
,RsBuffered
,RsEmpty
,RsFailure
,RsFlash
,RsFluent
,RsFork
,RsForward
,RsGzip
,RsHeaders.Base
,RsHeaders.Smart
,RsHtml
,RsJson
,RsLogout
,RsPrettyJson
,RsPrettyXml
,RsPrevious
,RsPrint
,RsRedirect
,RsReturn
,RsSimple
,RsStatus.Base
,RsText
,RsVelocity
,RsWithBody
,RsWithCookie
,RsWithHeader
,RsWithHeaders
,RsWithoutHeader
,RsWithStatus
,RsWithType
,RsWithType.Html
,RsWithType.Json
,RsWithType.Text
,RsWithType.Xml
,RsWrap
,RsXembly
,RsXslt
public interface Head
- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<String>
head()
All lines above the body.
-
-
-
Method Detail
-
head
Iterable<String> head() throws IOException
All lines above the body.- Returns:
- List of lines
- Throws:
IOException
- If something goes wrong
-
-