MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / create

Method create

src/main/java/core/packetproxy/http/Http.java:67–69  ·  view source on GitHub ↗
(byte[] data)

Source from the content-addressed store, hash-verified

65 private boolean flag_dont_touch_content_length = false;
66
67 public static Http create(byte[] data) throws Exception {
68 return new Http(data, false);
69 }
70
71 public static Http createWithoutTouchingContentLength(byte[] data) throws Exception {
72 return new Http(data, true);

Callers 15

constructorHttpTestMethod · 0.95
constructorHttpTest2Method · 0.95
MetaDataTestMethod · 0.95
generateTestMetaDataMethod · 0.95
onServerChunkSendMethod · 0.95
onClientChunkSendMethod · 0.95
onChunkReceivedMethod · 0.95
sendMethod · 0.95
getContentTypeMethod · 0.95
getSummarizedRequestMethod · 0.95
getSummarizedResponseMethod · 0.95
decodeClientRequestMethod · 0.95

Calls

no outgoing calls

Tested by 4

constructorHttpTestMethod · 0.76
constructorHttpTest2Method · 0.76
MetaDataTestMethod · 0.76
generateTestMetaDataMethod · 0.76